Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
Replacement
From AGEWiki
(Difference between revisions)
Line 11: | Line 11: | ||
| example2-description = For the faction in selection, this will increase the replacements of USA faction tag infantry by 2. | | example2-description = For the faction in selection, this will increase the replacements of USA faction tag infantry by 2. | ||
| param1 = Faction | | param1 = Faction | ||
- | | param1desc = String; [[Faction | + | | param1desc = String; [[Faction Alias]] |
| param2 = Element family | | param2 = Element family | ||
| param2desc = String; Alias of [[element family]] | | param2desc = String; Alias of [[element family]] |
Latest revision as of 14:29, 21 April 2010
Replacement | |||
Syntax Replacement = Faction; Element family; Number Description Changes the number of available replacements for a given unit family. Note: Earlier versions of the engine used the "Remplacement" keyword (typographical error). Both keywords are now supported by the scripting engine. Example Replacement = CSA;$famMilitia;3 For the faction in selection, this will increase the replacements of CSA faction tag militia by 3. (Don't mistake the faction in selection with the faction tag of the replacements added, e.g the CSA faction can receive the SubFaction GBR (British) replacements). Replacement = USA;$famLine;2 For the faction in selection, this will increase the replacements of USA faction tag infantry by 2. |
Parameters
String; Faction Alias
String; Alias of element family
Numerical value |