Message
Jump to navigation
Jump to search
Syntax:
Message "Message text", [var1], [var2], DisplaySeconds
Example:
Message "This is a Message" Message "You have %.0f hours to complete your task.", GameHour, 10
Displays a message on the screen for a specified amount of game time.
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.
Formatting notation:
%.2f
This means format the variable with 2 decimal places.
%.0f
This will format the variable with 0 decimal places, so is the normal choice for integers.