[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
Host
Posts: 136
Joined: Sun Jul 31, 2011 4:22 pm
Location: Sweeeden

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

Post by head » Thu Mar 21, 2013 3:40 pm

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 » Thu Mar 21, 2013 11:27 pm

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 » Fri Mar 22, 2013 10:13 am

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

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

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

Post by Kefirz » Fri Mar 22, 2013 10:50 am

Wouldn't this work with A2 also?

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

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

Post by wolfenswan » Fri Mar 22, 2013 11:03 am

might also be worth looking at this script for extended functionality.
My ARMA3 Missions - to download select a branch and pick "Download ZIP".

Post Reply