Made a script so when AI aircraft are low on fuel they'll land.
It works ...... except when they land and jump out, they turn around, get back in and take-off !!
Please suggest how to make them stay OUT !
PHP Code:_plane = _this select 0;
sleep 15;
waitUntil {((fuel _plane) < 0.1)};
if ((alive _plane) and (isengineon _plane) and ((getpos _plane select 2) > 1) and ((speed _plane) > 2)) then
{
_plane land "GET OUT";
dogetout (driver _plane);
unassignvehicle (driver _plane);
};
HOME 

Reply With Quote



