Category:Messages

From Fortress Forever Wiki
Revision as of 07:45, 26 February 2013 by Ddm999 (talk | contribs) (Added note saying BroadCast = Broadcast since v2.3: Bottom of http://www.fortress-forever.com/changelogs/2.3)
Jump to navigationJump to search
Mapping for FF
The Basics

Setting up Hammer
Getting Started With Lua
Releasing a map

FF-specific Entities

Lua location system

Map Templates
FF Lua Documentation

Entity Typing
Entity Collections

Commands
Callbacks

This group of Lua Commands deals with notifying players about events in the game.

NOTE: Since FF v2.3, the 'BroadCast' functions can also be used with 'Broadcast'.

LUA Command Description
BroadCastMessage( message ) broadcasts a given message to all players.
BroadCastMessageToPlayer( player, message ) broadcasts message to one player.
SmartTeamMessage
Smartmessage
BroadCastSound( sound ) Plays a selected sound for players on the server
BroadCastSoundToPlayer( player, sound )
SmartSound
SmartTeamSound
SpeakAll Plays a vox sentence for everyone on the server
SpeakPlayer
SmartSpeak
RandomFlagTouchSpeak() Plays a predetermined set of flag touch announcements for the server.
ObjectiveNotice( player, string ) Puts a notice in the kill notifications with the player's name, followed by the string. Use it when a player does something special.
ChatToAll(string) Displays a message in chat
ChatToPlayer(player,string) Displays a message in chat to just one player