SLIC-Reference : Functions : Messages & UI-effects : Messagefunctions
CTP2 Bureau
The Modding
Apolyton CTP2 forums
Apolyton CTP2 archives
Source Code Project SVN

SLIC-Reference : Functions : Messages & UI-effects : Messagefunctions


- CTP1 - messages only
- CTP2 - can be triggered (events)
- CTP2 Apolyton Edition  
  - tested
- broken, obsolete - working

Abort void         Causes the current message to not be displayed
AddMessage void   ?
Caption (caption) void     Unimplemented according to the original documentation
DisableClose void     Disallow closing this message from the UI
DisableMessageClass (class) void   Cause all messages of the given class to not be displayed
DontSave void     After the message is closed, it will not be saved in the Message Log
Duration (turns) void   Kill this message automatically in n turns
EnableCloseClass (player, class) void   Enable closing of all messages belonging to class, if it was disabled previously
EnableCloseMessage (player, messagename) void   Enable closing of all messages from the named object
EnableMessageClass (class) void   Enable messages belonging to class
EyeDropdown (starting index, builtin variable with list) void     Put a dropdown box on the message
EyePoint (location|unit|city[, player, messageid]) void   Put an eyepoint on the message.
GetMessageClass (player, index) void   Get the class of message #index belonging to player
Kill void         Kills this message, only works inside buttons
KillClass (class) void   Kills all messages of the given class
KillEyepointMessage void   When a message is called from an eyepoint, kill the original message with this function
KillMessages (objectname) void   Kill all messages from the named object
MessageClass (int) void     Set the current message to the given class
MessageType (message_type) void         Set the icon for the current message
MinimizeAction void   Does something with the message - I have no idea what
Show void       Open this message immediately instead of showing just an icon
Title (stringid) void         Set the title of a message
UseDirector void     Queue this message up via the animation system instead of displaying it immediately Apolyton-thread

Latest update: 11.11.2022  ( - recently updated)
This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 118120 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne
Share this page:  VK Facebook Twitter LiveJournal OK MR Google+ LinkedIn tumblr Pinterest Blogger Digg Evernote