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)
Jump to: navigation, search
 
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 alias]]
+
| 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

Faction

String; Faction Alias

Element family

String; Alias of element family

Number

Numerical value

Forums