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 13: | Line 13: | ||
* '''Subtract'''('''armies''' ''[[Mod API Reference:Armies|Armies]]'') returns [[Mod API Reference:Armies|Armies]]: Similar to Add, except removes the armies and special units in the passed structure. | * '''Subtract'''('''armies''' ''[[Mod API Reference:Armies|Armies]]'') returns [[Mod API Reference:Armies|Armies]]: Similar to Add, except removes the armies and special units in the passed structure. | ||
* '''WL.Armies.Create'''('''armies''' ''integer'', '''specialUnitsOpt''' ''Array<[[Mod API Reference:SpecialUnit|SpecialUnit]]>'') (static) returns [[Mod API Reference:Armies|Armies]]: Creates an army instance with the passed armies and special units. Special units can be nil, omitted, or an empty array if there aren't any. | * '''WL.Armies.Create'''('''armies''' ''integer'', '''specialUnitsOpt''' ''Array<[[Mod API Reference:SpecialUnit|SpecialUnit]]>'') (static) returns [[Mod API Reference:Armies|Armies]]: Creates an army instance with the passed armies and special units. Special units can be nil, omitted, or an empty array if there aren't any. | ||
− |