Difference between revisions of "Message"

Jump to navigation Jump to search
393 bytes added ,  22:34, 14 August 2006
→‎Description: DisplaySeconds parameter seems to be ignored
imported>DragoonWraith
(→‎Examples: lacked variables)
imported>DragoonWraith
(→‎Description: DisplaySeconds parameter seems to be ignored)
Line 8: Line 8:
  Message "You have %.0f hours to complete your task.", GameHour, 10  
  Message "You have %.0f hours to complete your task.", GameHour, 10  


Displays a message on the screen for a specified amount of game time.
Displays a message on the screen.  
 
The DisplaySeconds parameter must be an integer.
 
Up to 9 variable names can also be passed into the Message. These are displayed in the order they are used as parameters. The message must specify how the variable is to be displayed.  


The DisplaySeconds parameter is supposed to set how long the message will be displayed for, and it must be an integer (or else the script will fail to compile, stating that it must be in integer), however testing seems to indicate that the parameter has absolutely no effect whatsoever on how long the message is actually displayed. If you have successfully set a message to display for longer or shorter than the default time, please mention it in the [[Talk:Message|talk]] page!


Up to 9 variable names can also be passed into the Message. These are displayed in the order they are used as parameters. The message must specify how the variable is to be displayed.


== Displaying Variables ==
== Displaying Variables ==

Navigation menu