UI
global instance
The UI library allows you to control various aspects of the user interface.
Properties
Name | Type | Access | Description |
---|---|---|---|
teamText | String | RW | Team text is shown to the local player just above the minimap |
Functions and Enumerations
- Instance Functions
Functions that are used with a UI instance.
- addMessage( text, x, y, justify, color, fade, time )
Add a user interface message using a custom style
- addMinimapMark( position, radius, shrinkRate, color )
Ping the minimap
- addTitle( text, x, y, time, fade )
Add a message using the title style
- addSubtitle( text, x, y, time, fade )
Add a message using the subtitle style
- showTradesTo( player )
Show what has been traded with another player
- addMessage( text, x, y, justify, color, fade, time )
- Enumerations
Enumerations that are part of the UI class.
- Justify
UI justification options
- Justify