User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Owned Region Command ??

Thu Oct 16, 2008 6:46 pm

[color="Purple"]AddToRegList; $Santarem|$Lisboa|$Oporto
PickFromRegList; NotEnemy[/color]

This commands sequence allows to select from a list of 3 regions the ones free of enemy units for an action, as adding a reinforcement group.





[color="purple"]SelRegInArea; $Area_Portugal|Squared|OwnedCities[/color]

This commands sequence allows to select from regions in Portugal Area with cities controlled by faction, higher level cities having priority, as per squared.


[color="Black"]Now, I'm looking for something allowing to pick up from faction controlled, (up 50% military control) regions without enemy within.....[/color]


[color="Red"]AddToRegList; $Santarem|$Lisboa|$Oporto
PickFromRegList; NotEnemy; FactionControlled[/color]

Know, FactionControlled is not proper syntax: used it as an examplification of that I'm looking for.

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 23 guests