IPB


Welcome Guest ( Log In | Register )

 Forum Rules ArmedAssault.info Forum Rules
 
Reply to this topicStart new topic
> help for a script !, auto replenishment of ammunition for a group of soldier
saims
post Jul 20 2011, 12:54
Post #1


New Member
*

Group: Members
Posts: 1
Joined: 20-July 11
Member No.: 9,125



hello ! sorry for my english !! my question is : Is there a script for the soldiers of a group automatically resupply of ammunition alone? If this script exists could you give me the statement in response on my topic,thank you in advance for your help!
 
Quote Post
maxjoiner
post Jul 25 2011, 12:00
Post #2


Member
***

Group: Members
Posts: 94
Joined: 18-February 10
From: ITALY
Member No.: 7,236



I wrote this script try it:


-------------------------------------
_unit = this select 0;

while {true} do {

sleep 60; // 60 = seconds to reammo
_ unit setvehicleammo 1;

}


------------------------------------
save it like "reammo.sqf"

insert it in Your folder mission

in editor in Init every unit: nul = [this] execVM "reammo.sqf";



--------------------
Visit my site! http://arma2studio.weebly.com/
 
Quote Post

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 18th July 2018 - 14:33