scripting:reference:scriptingmainui
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| scripting:reference:scriptingmainui [2020/03/10 01:04] – [ScriptedOption command] mit | scripting:reference:scriptingmainui [2025/05/28 18:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ==== Notification messages ==== | ==== Notification messages ==== | ||
| - | FIXME: | + | The notification system provides a list of messages that are shown to the user on the left side of the screen. The messages disappear after a defined time (a few seconds by default but they can be made to last longer), and if multiple messages are triggered they are queued |
| + | |||
| + | Notification | ||
| + | |||
| + | ==== Main On-screen Message ==== | ||
| + | |||
| + | You can use the commands: | ||
| + | ***setmainscore [PLAYER_NAME], | ||
| + | ***setmainmsg [PLAYER_NAME], | ||
| + | .. to set a message which is permanently displayed at the top left of the player' | ||
| ==== ScriptedOption command ===== | ==== ScriptedOption command ===== | ||
| Line 39: | Line 48: | ||
| 13 - Battle system victor decision option 2 - Triggers?\\ | 13 - Battle system victor decision option 2 - Triggers?\\ | ||
| 14 - Battle system victor decision option 3 - Triggers?\\ | 14 - Battle system victor decision option 3 - Triggers?\\ | ||
| - | 15 - Optional extra button on towns menu, shows only for town owner - triggers Event( " | + | 15 - Optional extra button on towns menu, shows only for town owner - triggers |
| - | 16 - 2nd optional extra button on towns menu, shows for all players - triggers Event( " | + | 16 - 2nd optional extra button on towns menu, shows for all players - triggers |
| - | 17 - 3rd optional extra button on towns menu, shows only for town owner - triggers Event( " | + | 17 - 3rd optional extra button on towns menu, shows only for town owner - triggers |
| - | 18 - Help & Info menu extra option 1 - Triggers Event( " | + | 18 - Help & Info menu extra option 1 - Triggers |
| 19 - Help & Info menu extra option 2 - Triggers **Event( " | 19 - Help & Info menu extra option 2 - Triggers **Event( " | ||
| 20 - 1st option available in the pub interface - Triggers **Event( " | 20 - 1st option available in the pub interface - Triggers **Event( " | ||
| Line 56: | Line 65: | ||
| 30 - Additional netrek mode button: $ icon when in orbit - Triggers **Event( " | 30 - Additional netrek mode button: $ icon when in orbit - Triggers **Event( " | ||
| 31 - Additional netrek mode button: i icon when in orbit - Triggers **Event( " | 31 - Additional netrek mode button: i icon when in orbit - Triggers **Event( " | ||
| + | 32 - Customises the standard building interface 'Extra Info' option. - Triggers **Event( " | ||
| + | 33 - Additonal button on the building stockroom interface - Triggers **Event( " | ||
scripting/reference/scriptingmainui.1583802261.txt.gz · Last modified: (external edit)
