Category:Player functions
From Fortress Forever Wiki
Jump to navigationJump to search
This is just a dump of commands that we'll get to documenting later. These lack parameter information and the list is incomplete.
Usage
CFFPlayer:function(parameters)
Example
function location_info:ontouch( touch_entity ) -- set the location of the player if IsPlayer( touch_entity ) then local player = CastToPlayer( touch_entity ) --this new variable is of type CFFPlayer; we can use any player function on it player:SetLocation(entity:GetId(), self.text, self.team) end end
AddAmmo , &CFFPlayer::LuaAddAmmo AddArmor , &CFFPlayer::AddArmor AddFrags , &CFFPlayer::IncrementFragCount AddFortPoints , &CFFPlayer::AddFortPoints AddHealth , &CFFPlayer::AddHealth GetClass , &CFFPlayer::GetClassSlot GetName , &CFFPlayer::GetPlayerName GetArmor , &CFFPlayer::GetArmor GetMaxArmor , &CFFPlayer::GetMaxArmor GetHealth , &CFFPlayer::GetHealth GetMaxHealth , &CFFPlayer::GetMaxHealth HasItem , &CFFPlayer::HasItem IsFeetDeepInWater , &CFFPlayer::IsFeetDeepInWater IsInNoBuild , &CFFPlayer::IsInNoBuild IsUnderWater , &CFFPlayer::IsUnderWater IsWaistDeepInWater , &CFFPlayer::IsWaistDeepInWater IsInAttack1 , &CFFPlayer::IsInAttack1 IsInAttack2 , &CFFPlayer::IsInAttack2 IsInUse , &CFFPlayer::IsInUse IsInJump , &CFFPlayer::IsInJump IsInForward , &CFFPlayer::IsInForward IsInBack , &CFFPlayer::IsInBack IsInMoveLeft , &CFFPlayer::IsInMoveLeft IsInMoveRight , &CFFPlayer::IsInMoveRight IsInLeft , &CFFPlayer::IsInLeft IsInRight , &CFFPlayer::IsInRight IsInRun , &CFFPlayer::IsInRun IsInReload , &CFFPlayer::IsInReload IsInSpeed , &CFFPlayer::IsInSpeed IsInWalk , &CFFPlayer::IsInWalk IsInZoom , &CFFPlayer::IsInZoom IsOnGround , &CFFPlayer::IsOnGround IsInAir , &CFFPlayer::IsInAir IsDucking , &CFFPlayer::IsDucking MarkRadioTag , &CFFPlayer::SetRadioTagged RemoveAmmo , &CFFPlayer::LuaRemoveAmmo RemoveArmor , &CFFPlayer::RemoveArmor RemoveLocation , &CFFPlayer::RemoveLocation Respawn , &CFFPlayer::KillAndRemoveItems SetDisguisable , &CFFPlayer::SetDisguisable IsDisguisable , &CFFPlayer::GetDisguisable SetCloakable , &CFFPlayer::SetCloakable IsCloakable , &CFFPlayer::IsCloakable SetRespawnable , &CFFPlayer::SetRespawnable IsRespawnable , &CFFPlayer::IsRespawnable SetLocation , &CFFPlayer::SetLocation SetRespawnDelay , &CFFPlayer::LUA_SetPlayerRespawnDelay GetActiveWeaponName , &CFFPlayer::GetActiveWeaponName GiveWeapon , &CFFPlayer::GiveNamedItem RemoveWeapon , &CFFPlayer::TakeNamedItem RemoveAllWeapons , &CFFPlayer::RemoveAllItems IsCloaked , &CFFPlayer::IsCloaked IsDisguised , &CFFPlayer::IsDisguised GetDisguisedClass , &CFFPlayer::GetDisguisedClass GetDisguisedTeam , &CFFPlayer::GetDisguisedTeam AddEffect , &CFFPlayer::LuaAddEffect IsEffectActive , &CFFPlayer::LuaIsEffectActive RemoveEffect , &CFFPlayer::LuaRemoveEffect GetSteamID , &CFFPlayer::GetSteamID GetPing , &CFFPlayer::GetPing GetPacketloss , &CFFPlayer::GetPacketloss IsAlive , &CFFPlayer::IsAlive
This category currently contains no pages or media.