Difference between revisions of "Lua Commands"

From Fortress Forever Wiki
Jump to navigationJump to search
(Redirecting to Category:Lua Commands)
 
(53 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=Introduction=
+
#REDIRECT [[Category:Lua_Commands]]
Words words words words words words words words words words words words words
 
 
 
=Communicating with player=
 
*BroadCastMessage
 
*BroadCastMessageToPlayer
 
*BroadCastSound
 
*BroadCastSoundToPlayer
 
*ConsoleToAll
 
 
 
=Interfacing with map entities=
 
*SpawnEntityAtPlayer
 
*FireOutput
 
 
 
=Finding Information about the Players=
 
*GetPlayerTeam
 
*GetPlayerClass
 
*GetPlayerName
 
*NumPlayersOnTeam
 
*GetPlayerOnTeam
 
*NumPlayers
 
*GetPlayer
 
 
 
=Manipulating Players=
 
*AddAmmo
 
*RemoveAmmo
 
*AddArmor
 
*AddHealth
 
*AddFrags
 
*MarkRadioTag
 
 
 
=Manipulating Teams=
 
*AddTeamScore
 
*SetTeamAllies
 
*SetTeamClassLimit
 
 
 
=Item/Flag related=
 
*PlayerHasItem
 
*RemoveItem
 
*ReturnItem
 
 
 
=Misc=
 
*IncludeScript
 
*Random / rand
 
*RespawnAllPlayers
 

Latest revision as of 20:05, 25 February 2008