Quote:
Originally Posted by TheEnlightenedFlorist
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. 
|
Getting back to moving frontline.
Does GamePlay.gpFrontArmy(bp.Pos().x, bp.Pos().y) work at any point of map or only at frontline/border?
Where can I see the complete list of such commands/functions like GamePlay.gpFrontArmy(bp.Pos().x, bp.Pos().y)? Should I add some game files to my project in Visual Studio? Till now I only opened separate .cs files with it.