Difference between revisions of "Lua Commands"
From Fortress Forever Wiki
Jump to navigationJump to searchLine 45: | Line 45: | ||
*RespawnAllPlayers | *RespawnAllPlayers | ||
− | [[Category:LUA]] | + | [[Category:LUA]] [[Category:Entities]] |
Revision as of 15:07, 15 February 2006
Introduction
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
- PlayerHasItem
- RemoveItem
- ReturnItem
Misc
- IncludeScript
- Random / rand
- RespawnAllPlayers