[Script] How to rid helo pilots of common sense and deceny.
Posted: Thu Mar 21, 2013 3:40 pm
Vid
////////////////////////////// HELO INIT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//////////// 100 radius wp move with nul = execVM "scriptname.sqf" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\
////////////////////////////// HELO INIT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Code: Select all
{ _x disableai "AUTOTARGET"; _x setCombatMode "BLUE"; _x setBehaviour "CARELESS"; _x allowFleeing 0; } foreach crew this;
//////////// 100 radius wp move with nul = execVM "scriptname.sqf" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Code: Select all
while { ( (alive helo ) && !(unitReady helo ) ) } do
{
sleep 1;
};
hint "LANDING";
if (alive helo ) then
{
helo land "LAND";
};
waituntil { isTouchingGround helo};
hint "GOGOGO";
{
doGetOut _x;
unassignVehicle _x;
} foreach assignedCargo helo;
waituntil { count (assignedCargo helo) == 0 };
helo land "NONE";
helo move (getpos away);