From Fortress Forever Wiki
Jump to navigationJump to search
|
|
| (25 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| − | =Introduction=
| + | #REDIRECT [[Category:Lua_Commands]] |
| − | LUA Commands are functions LUA can use to call into game code to do something and usually return a result. These are also referred to as "entry points".
| |
| − | | |
| − | ==Communicating with player==
| |
| − | *BroadCastMessage
| |
| − | *BroadCastMessageToPlayer
| |
| − | *BroadCastSound
| |
| − | *BroadCastSoundToPlayer
| |
| − | *ConsoleToAll
| |
| − | *EmitSound
| |
| − | | |
| − | ==Interfacing with map entities==
| |
| − | *CloseDoor
| |
| − | *FireOutput
| |
| − | *LockButton
| |
| − | *LockDoor
| |
| − | *OpenDoor
| |
| − | *PressButton
| |
| − | *ToggleDoor
| |
| − | *SpawnEntityAtPlayer
| |
| − | *UnlockButton
| |
| − | *UnlockDoor
| |
| − | *UseEntity
| |
| − | | |
| − | ==Finding Information about the Players==
| |
| − | *GetPlayer
| |
| − | *GetPlayerClass
| |
| − | *GetPlayerOnTeam
| |
| − | *GetPlayerName
| |
| − | *GetPlayerTeam
| |
| − | *NumPlayers
| |
| − | *NumPlayersOnTeam
| |
| − | | |
| − | ==Manipulating Players==
| |
| − | *AddAmmo
| |
| − | *AddFrags
| |
| − | *AddHealth
| |
| − | *AddArmor
| |
| − | *IsPlayer
| |
| − | *MarkRadioTag
| |
| − | *RemoveAmmo
| |
| − | *RespawnAllPlayers
| |
| − | *RespawnPlayer
| |
| − | *SetPlayerLocation
| |
| − | *RemoveLocation
| |
| − | *SetPlayerDisguisable
| |
| − | *SetPlayerRespawnDelay
| |
| − | | |
| − | ==Manipulating Teams==
| |
| − | *AddTeamScore
| |
| − | *[[LUA:SetTeamAllies|SetTeamAllies]]
| |
| − | *SetTeamClassLimit
| |
| − | *SetTeamPlayerLimit
| |
| − | | |
| − | ==Item/Flag related==
| |
| − | *DropItem
| |
| − | *Pickup
| |
| − | *PlayerHasItem
| |
| − | *RemoveItem
| |
| − | *Respawn
| |
| − | *ReturnItem
| |
| − | | |
| − | ==Misc==
| |
| − | *GetObjectsTeam
| |
| − | *IncludeScript
| |
| − | *IsDispenser
| |
| − | *IsSentrygun
| |
| − | *PrecacheModel
| |
| − | *PrecacheSound
| |
| − | *Random / rand
| |
| − | *SetGlobalRespawnDelay
| |
| − | *SetModel
| |
| − | | |
| − | ==Map Location System==
| |
| − | *[[LUA:Map Location System|Map Location System]]
| |
| − | | |
| − | [[Category:LUA]] | |
Latest revision as of 19:05, 25 February 2008