Editing Mod API Reference:Armies

Jump to: navigation, search

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 is an immutable object and can never be modified.  Instead of modifying it, create a new Armies object and assign this back to wherever it's assigned.
+
'''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.

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox