Difference between revisions of "Lua Commands"
From Fortress Forever Wiki
Jump to navigationJump to searchMulchman MM (talk | contribs) |
Mulchman MM (talk | contribs) |
||
Line 46: | Line 46: | ||
==Map Location System== | ==Map Location System== | ||
− | *[[LUA:Location|Map Location System]] | + | *[[LUA:Map Location System|Map Location System]] |
[[Category:LUA]] | [[Category:LUA]] |
Revision as of 16:09, 28 May 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