help for a script !, auto replenishment of ammunition for a group of soldier |
help for a script !, auto replenishment of ammunition for a group of soldier |
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!
|
|
|
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/
|
|
|
Lo-Fi Version | Time is now: 25th June 2024 - 18:03 |