![]() |
#17
|
|||
|
|||
![]() Quote:
![]() I managed to modify the script to only work on player planes by adding a condition to ignore AI planes - using !isAiControlledPlane(aircraft) It's working for player planes only now quite nicely. ![]() I'd like to have a go at adding in some code to rearm/refuel/repair. Off the top of my head, it could probably work by automatically setting fuel etc to 1 when the relevant truck completes it's last waypoint. Or when it completes it's last waypoint, then it activates the Mission menu for the player to select the appropriate emergency service. I'm not sure if these solutions would be possible as I don't know many of the scripting commands. How can you see the API? Do you have to run kegetys -dump command or is there a different way to look at the API (in the COD folder somewhere maybe)? EDIT: I suspect it's in the maddox.dll.... Last edited by Das Attorney; 09-15-2011 at 11:31 PM. |
|
|