Editing Mod API Reference:Armies
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | '''Armies''': Represents the number of armies on a territory (access '''NumArmies'''), what special units are there (access '''SpecialUnits'''), and also has the possibility if being the special 'fogged' value which indicates that a client cannot see the armies here | + | '''Armies''': Represents the number of armies on a territory (access '''NumArmies'''), what special units are there (access '''SpecialUnits'''), and also has the possibility if being the special 'fogged' value which indicates that a client cannot see the armies here. |
* '''ArmiesOrZero''' ''integer'': A helper that returns the number of armies, or zero if the structure is fogged. | * '''ArmiesOrZero''' ''integer'': A helper that returns the number of armies, or zero if the structure is fogged. | ||
* '''AttackPower''' ''integer'': A helper that calculates the attack power of special units plus the number of armies here. | * '''AttackPower''' ''integer'': A helper that calculates the attack power of special units plus the number of armies here. |