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 edit summary | ||
| Line 1: | Line 1: | ||
| '''TerritoryAnnotation''': Displays a message over territories on the map when passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]], [[Mod API Reference:GameOrderCustom|GameOrderCustom]], or [[Mod API Reference: | '''TerritoryAnnotation''': Displays a message over territories on the map when passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]], [[Mod API Reference:GameOrderCustom|GameOrderCustom]], or [[Mod API Reference:GameOrderPlayCardCustom|GameOrderPlayCardCustom]] | ||
| * '''Message''' ''string'': The message displayed | * '''Message''' ''string'': The message displayed | ||
| * '''FontSize''' ''integer'': How large the font is.  Defaults to 10. | * '''FontSize''' ''integer'': How large the font is.  Defaults to 10. | ||
Latest revision as of 22:12, 29 March 2025
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.