Lua:BroadCastMessage

From Fortress Forever Wiki
Revision as of 23:34, 15 February 2010 by Crazycarl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


BroadCastMessage

Sends a large text message to everyone on the server.

Usage

BroadCastMessage( message, duration )
BroadCastMessage( message, duration, colorid )
BroadCastMessage( message, duration, colorstring )

Input

  • message(string) the message to display. Type in your own message, or use an entry from resource\FortressForever_english.txt
  • duration(int) number of seconds to display
  • colorid(int) preset colors. See Lua:Flags#Color
  • colorstring(string) An RGB color string, e.g. "255 255 255"

Output

Returns nothing

Example

BroadCastMessage("Welcome to the greatest map evar!!1!", 10, Color.kRed)