...my Problem is......
If the AI controls the vehicle then it will deny the lowering/rising of the gear depending on the situation.
I need help, because there is no Infos, which Situation I need for this Action "Land Gear".
Plane is the Standart A10
Is it.....
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_pilot setbehaviour "CARELESS";
_plane setbehaviour "CARELESS";
or
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_pilot SetCombatMode "BLUE";
_plane SetCombatMode "BLUE";
or all together
I don´t know ?
Next Test.....
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_pilot action ["LAND GEAR"];
or
_plane action ["LAND GEAR"];
or
_pilot action ["LAND GEAR",_plane];
or
_plane action ["LAND GEAR",_plane];
no result !?!
This is the Script...
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
_plane = _this select 0;
_index_Flugnummer = _this select 1;
_pilot = driver _plane;
? (! Alive _plane) : goto "EXIT";
planecontrol set [_index_Flugnummer, 1];
_pilot setbehaviour "CARELESS";
_plane setbehaviour "CARELESS";
;Syntax Gear Down
;_pilot action ["LAND GEAR"];
_plane action ["LAND GEAR"];
;_pilot action ["LAND GEAR",_plane];
;_plane action ["LAND GEAR",_plane];
planecontrol set [_index_Flugnummer, 0];
EXIT
Who can help me ......???
Thanks
IDONTNO