Quote:
Originally Posted by Ataros
Attached is original mission. It is supposed to do as follows: on a flyby above an airfield a new enemy aircraft is spawn there and the af changes color to friendly.
Actions are listed in the mission file not the script. A surprise of the month for me! lol
|
Just tried this mission. It exhibits the same behavior as mine.
Edit:
This code will loop through all BirthPlaces and print a message to the screen if a BirthPlace is on the opposite side of the front line.
Code:
foreach (AiBirthPlace bp in GamePlay.gpBirthPlaces())
{
if (GamePlay.gpFrontArmy(bp.Pos().x, bp.Pos().y) != bp.Army())
GamePlay.gpHUDLogCenter("Front and BirthPlace do not match!");
}
I'm having fun.