[Script] How to rid helo pilots of common sense and deceny.

Party-approved future science plus handbooks for the revolution
Post Reply
User avatar
head
Posts: 133
Joined: Sun Jul 31, 2011 4:22 pm
Location: Sweeeden

[Script] How to rid helo pilots of common sense and deceny.

Post by head »

Vid





////////////////////////////// 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);



EBass
Posts: 30
Joined: Tue Jan 17, 2012 1:46 pm

Re: How to rid helo pilots of common sense and deceny.

Post by EBass »

Well this'll be bloody useful. Its an absolute bastard to get them to land under fire! Good work

Anvilfolk
Posts: 119
Joined: Thu Jan 17, 2013 3:56 pm
Location: Portugal
Contact:

Re: How to rid helo pilots of common sense and deceny.

Post by Anvilfolk »

I think I had tried the disableAI but not the allowFleeing thing :D I'll give this a go soonish :)

User avatar
Kefirz
Posts: 440
Joined: Sun Mar 11, 2012 11:44 am

Re: How to rid helo pilots of common sense and deceny.

Post by Kefirz »

Wouldn't this work with A2 also?
''I am not going against tanks'' - Tryteyker, MAT gunner.
''Downboated so much, it's an u-boat now.'' - Boberro.
''Sorry, I meant hon hon hon baguette baguette Eiffel Tower'' - Mabbott

User avatar
wolfenswan
Posts: 1209
Joined: Wed May 25, 2011 4:59 pm

Re: How to rid helo pilots of common sense and deceny.

Post by wolfenswan »

might also be worth looking at this script for extended functionality.

Post Reply