Difference between revisions of "Lua Commands"
From Fortress Forever Wiki
Jump to navigationJump to search| Line 2: | Line 2: | ||
Words words words words words words words words words words words words words | Words words words words words words words words words words words words words | ||
| − | =Communicating with player= | + | ==Communicating with player== |
*BroadCastMessage | *BroadCastMessage | ||
*BroadCastMessageToPlayer | *BroadCastMessageToPlayer | ||
| Line 9: | Line 9: | ||
*ConsoleToAll | *ConsoleToAll | ||
| − | =Interfacing with map entities= | + | ==Interfacing with map entities== |
*SpawnEntityAtPlayer | *SpawnEntityAtPlayer | ||
*FireOutput | *FireOutput | ||
| − | =Finding Information about the Players= | + | ==Finding Information about the Players== |
*GetPlayerTeam | *GetPlayerTeam | ||
*GetPlayerClass | *GetPlayerClass | ||
| Line 22: | Line 22: | ||
*GetPlayer | *GetPlayer | ||
| − | =Manipulating Players= | + | ==Manipulating Players== |
*AddAmmo | *AddAmmo | ||
*RemoveAmmo | *RemoveAmmo | ||
| Line 30: | Line 30: | ||
*MarkRadioTag | *MarkRadioTag | ||
| − | =Manipulating Teams= | + | ==Manipulating Teams== |
*AddTeamScore | *AddTeamScore | ||
*SetTeamAllies | *SetTeamAllies | ||
*SetTeamClassLimit | *SetTeamClassLimit | ||
| − | =Item/Flag related= | + | ==Item/Flag related== |
*PlayerHasItem | *PlayerHasItem | ||
*RemoveItem | *RemoveItem | ||
*ReturnItem | *ReturnItem | ||
| − | =Misc= | + | ==Misc== |
*IncludeScript | *IncludeScript | ||
*Random / rand | *Random / rand | ||
*RespawnAllPlayers | *RespawnAllPlayers | ||
Revision as of 14: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