spartanhoplite 10 Posted December 22, 2011 Hi, How could i make tank crews get in their tank if they heard shots fired and to check the place? thanks in advance. Share this post Link to post Share on other sites
Aldo15 11 Posted December 22, 2011 I got two options 1. -Add three crews and a tank, and then add some waypoints to the crews. Type "hold" and the "get in" (put on the tank) -Add some enemy soldiers and add them this on their init: this addEventHandler ["fired",{getin=true}] -When you've done it, add a trigger with. type: "active" and condition "getin" and synchronize it with the waypoint number one. It's hold. Now when the russians open fire, the crews will get in the tank. This another option: -Add all units again (crew,tank,russians, etc), but now Add names to the crews. I put them c, c2 and c3 -Now change this addEventHandler ["fired",{getin=true}] for this addEventHandler ["fired",{[] exec "fired.sqs"}] -Now make a script with the notepad, and writw this: _crew1 = c1 _crew2 = c2 _crew3 = c3 ~1 if (not (alive _crew1) and not (alive _crew2) and not (alive _crew3)) then {Exit} #check [_crew1,_crew2,_crew3] orderGetIn true {_x setcombatmode "blue"} foreach units _crew1 {_x setbehaviour "AWARE"} foreach units _crew1 {_x setspeedmode "full"} foreach units _crew1 _crew1 assignascommander tank1 _crew2 assignasGunner tank1 _crew3 assignasdriver tank1 ~4 {_x setcombatmode "red"} foreach units _crew1 exit That's all, I hope it helps, Cheers, Aldo15 1 Share this post Link to post Share on other sites