Mod API Reference:TerritoryAnnotation: Difference between revisions
Jump to navigation
Jump to search
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..." |
(No difference)
|
Revision as of 22:11, 29 March 2025
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.