Mod API Reference:TerritoryAnnotation

From Warzone Wiki
Jump to navigation Jump to search

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

  • 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.