Difference between revisions of "Lua Commands"

From Fortress Forever Wiki
Jump to navigationJump to search
(Redirecting to Category:Lua Commands)
 
(45 intermediate revisions by 3 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
 
*[[LUA:SetTeamAllies|SetTeamAllies]]
 
*SetTeamClassLimit
 
 
 
==Item/Flag related==
 
*PlayerHasItem
 
*RemoveItem
 
*ReturnItem
 
 
 
==Misc==
 
*IncludeScript
 
*Random / rand
 
*RespawnAllPlayers
 
 
 
==Map Location System==
 
*[[LUA:Location|Map Location System]]
 
 
 
[[Category:LUA]]
 

Latest revision as of 20:05, 25 February 2008