These classes and methods are only available for scripted AI players.
◆ add_message_at()
static string gui::add_message_at |
( |
player_x |
player, |
|
|
string |
text, |
|
|
coord3d |
position |
|
) |
| |
|
static |
Adds message to the players mailboxes. Will be shown in ticker or as pop-up window depending on players preferences. Message window has small view of world.
- Parameters
-
player | sending this message |
text | Text to be shown. Has to be a translated string or a translatable string. |
position | Position of the view on the map. Clicking on the message will center viewport at this position. |
◆ self()
- Returns
- player associated with the AI.
- Note
- Only available in AI mode.