Mod API Reference:TerritoryAnnotation

From Warzone Wiki
Revision as of 22:11, 29 March 2025 by Fizzer (talk | contribs) (Created page with "'''TerritoryAnnotation''': Displays a message over territories on the map when passed to a GameOrderEvent, GameOrderCustom, or GameOrderPlayCard * '''Message''' ''string'': The message displayed * '''FontSize''' ''integer'': How large the font is. Defaults to 10. * '''FillColor''' ''integer'': The color of the background behind the text. Defaults to 0 (bla...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TerritoryAnnotation: Displays a message over territories on the map when passed to a GameOrderEvent, GameOrderCustom, or GameOrderPlayCard

  • Message string: The message displayed
  • FontSize integer: How large the font is. Defaults to 10.
  • FillColor integer: The color of the background behind the text. Defaults to 0 (black)

Functions

  • WL.TerritoryAnnotation.Create(message string, fontSize integer, fillColor integer) (static) returns TerritoryAnnotation: See properties above for meaning of each argument. Only the message is required, the subsequent arguments can be omitted to use their defaults.