addMessage( text, x, y, justify, color, fade, time )

instance function

Use this function to add a text message to the user interface. There are various options that can be changed to control the way a message appears.

Arguments

Name Type Description
text String The text to display
x Number X screen coordinate (0 to 1600)
y Number Y screen coordinate (0 to 1200)
justify UI.Justify The justification style
color Color The color of the message
fadeIn Boolean If true the message will fade in and out
time Number The length of time the message should be displayed for