![]() |
#11
|
|||
|
|||
![]()
In your code you can modify
Code:
public override void OnTickGame() { if(MissionTimer.Elapsed.TotalSeconds >= 30 && GetSumAllPlanes() < 50) //Loads a mission every 120s and only if the sum of all planes < 50 { |
#12
|
|||
|
|||
![]()
Wait for the patch, then it's possible to get the current Waypoint from a Actor. At the moment you can try OnActorTaskCompleted which has sometimes strange results, or use GetTask() from AiAirgroup in OnTickGame and check for AiAirGroupTask.DO_NOTHING
|
#13
|
||||
|
||||
![]()
thx Kodiak...it seems to work
![]() so for the waypoints....if i leave the script that way and once the patch is out, will the ai removed then when it reaches the last waypoint, without adjusting the script further? Last edited by David198502; 04-25-2012 at 08:00 AM. |
#14
|
|||
|
|||
![]()
I don't think so, but it should not be a great problem
![]() |
![]() |
|
|