Entities are used in to specify player spawn locations or to add effects, doors, items and more to a map.

Category: all (50)

ID 72 - Func_Message (MSG)


Draws a messsage on the screen when triggered.

Values / Properties

The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.

  • ints[0]=display time in seconds
  • ints[1]=position (0=center, 1=left/chat)
  • ints[2]=color red (0-255)
  • ints[3]=color green (0-255)
  • ints[4]=color blue (0-255)
  • strs[0]=message text