Mod API Reference:Commander: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''Commander''':  Subclass of [[Mod API Reference:SpecialUnit|SpecialUnit]]
'''Commander''':  Subclass of [[Mod API Reference:SpecialUnit|SpecialUnit]]
* '''CombatOrder''' ''integer'':  Added in v5.22.2


== Functions ==
== Functions ==
Line 5: Line 6:
* '''WL.Commander.CreateForScenario'''() (static) returns [[Mod API Reference:Commander|Commander]]: Create for use in a custom scenario.
* '''WL.Commander.CreateForScenario'''() (static) returns [[Mod API Reference:Commander|Commander]]: Create for use in a custom scenario.
* '''WL.Commander.Create'''('''playerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'') (static) returns [[Mod API Reference:Commander|Commander]]:  Create for use in a Standing.
* '''WL.Commander.Create'''('''playerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'') (static) returns [[Mod API Reference:Commander|Commander]]:  Create for use in a Standing.
[[Category:Mod API Reference]]

Latest revision as of 13:39, 28 December 2022

Commander: Subclass of SpecialUnit

  • CombatOrder integer: Added in v5.22.2

Functions

  • WL.Commander.CreateForScenario() (static) returns Commander: Create for use in a custom scenario.
  • WL.Commander.Create(playerID PlayerID) (static) returns Commander: Create for use in a Standing.