Entity

From GMod Wiki

Jump to: navigation, search

Entity.png

An entity is an object defined within the Source Engine as having characteristics which differentiate it from "the world" (world brushes). [1]


Object Methods

Shared

State Method Name
shNewerShared.png
Entity:Activate
shNewerShared.png
Entity:AddEFlags
shNewerShared.png
Entity:AddEffects
shNewerShared.png
Entity:AlignAngles
shNewerShared.png
Entity:BoundingRadius
shNewerShared.png
Entity:CallOnRemove
shNewerShared.png
Entity:ClearPoseParameters
shNewerShared.png
Entity:DispatchTraceAttack
shNewerShared.png
Entity:DrawShadow
shNewerShared.png
Entity:EmitSound
shNewerShared.png
Entity:EntIndex
shNewerShared.png
Entity:EyeAngles
shNewerShared.png
Entity:EyePos
shNewerShared.png
Entity:FindTransitionSequence
shNewerShared.png
Entity:FireBullets
shNewerShared.png
Entity:ForcePlayerDrop
shNewerShared.png
Entity:GetActivity
shNewerShared.png
Entity:GetAngles
shNewerShared.png
Entity:GetAttachment
shNewerShared.png
Entity:GetBodygroup
shNewerShared.png
Entity:GetBoneCount
shNewerShared.png
Entity:GetBoneMatrix
shNewerShared.png
Entity:GetBoneName
shNewerShared.png
Entity:GetBoneParent
shNewerShared.png
Entity:GetBonePosition
shNewerShared.png
Entity:GetClass
shNewerShared.png
Entity:GetCollisionBounds
shNewerShared.png
Entity:GetCollisionGroup
shNewerShared.png
Entity:GetColor
shNewerShared.png
Entity:GetCycle
shNewerShared.png
Entity:GetDTAngle
shNewerShared.png
Entity:GetDTBool
shNewerShared.png
Entity:GetDTEntity
shNewerShared.png
Entity:GetDTFloat
shNewerShared.png
Entity:GetDTInt
shNewerShared.png
Entity:GetDTVector
shNewerShared.png
Entity:GetElasticity
shNewerShared.png
Entity:GetFlexBounds
shNewerShared.png
Entity:GetFlexName
shNewerShared.png
Entity:GetFlexNum
shNewerShared.png
Entity:GetFlexScale
shNewerShared.png
Entity:GetFlexWeight
shNewerShared.png
Entity:GetForward
shNewerShared.png
Entity:GetFriction
shNewerShared.png
Entity:GetGravity
shNewerShared.png
Entity:GetGroundEntity
shNewerShared.png
Entity:GetHitBoxBone
shNewerShared.png
Entity:GetHitBoxBounds
shNewerShared.png
Entity:GetHitBoxCount
shNewerShared.png
Entity:GetHitBoxGroupCount
shNewerShared.png
Entity:GetLocalAngles
shNewerShared.png
Entity:GetLocalAngularVelocity β
shNewerShared.png
Entity:GetLocalPos
shNewerShared.png
Entity:GetMaterial
shNewerShared.png
Entity:GetModel
shNewerShared.png
Entity:GetMomentaryRotButtonPos β
shNewerShared.png
Entity:GetMoveCollide
shNewerShared.png
Entity:GetMoveParent
shNewerShared.png
Entity:GetMoveType
shNewerShared.png
Entity:GetNWAngle
shNewerShared.png
Entity:GetNWBool
shNewerShared.png
Entity:GetNWEntity
shNewerShared.png
Entity:GetNWFloat
shNewerShared.png
Entity:GetNWInt
shNewerShared.png
Entity:GetNWString
shNewerShared.png
Entity:GetNWVector
shNewerShared.png
Entity:GetNetworkedAngle
shNewerShared.png
Entity:GetNetworkedBool
shNewerShared.png
Entity:GetNetworkedEntity
shNewerShared.png
Entity:GetNetworkedFloat
shNewerShared.png
Entity:GetNetworkedInt
shNewerShared.png
Entity:GetNetworkedString
shNewerShared.png
Entity:GetNetworkedVar
shNewerShared.png
Entity:GetNetworkedVector
shNewerShared.png
Entity:GetOwner
shNewerShared.png
Entity:GetParent
shNewerShared.png
Entity:GetParentPhysNum
shNewerShared.png
Entity:GetPhysicsObject
shNewerShared.png
Entity:GetPhysicsObjectCount
shNewerShared.png
Entity:GetPhysicsObjectNum
shNewerShared.png
Entity:GetPlaybackRate
shNewerShared.png
Entity:GetPos
shNewerShared.png
Entity:GetPoseParameter
shNewerShared.png
Entity:GetRight
shNewerShared.png
Entity:GetRotatedAABB
shNewerShared.png
Entity:GetSaveTable
shNewerShared.png
Entity:GetSequence
shNewerShared.png
Entity:GetSequenceActivity
shNewerShared.png
Entity:GetSequenceActivityName
shNewerShared.png
Entity:GetSequenceName
shNewerShared.png
Entity:GetSkin
shNewerShared.png
Entity:GetSolid
shNewerShared.png
Entity:GetSpawnFlags
shNewerShared.png
Entity:GetTable
shNewerShared.png
Entity:GetUp
shNewerShared.png
Entity:GetVar
shNewerShared.png
Entity:GetVelocity
shNewerShared.png
Entity:GibBreakClient
shNewerShared.png
Entity:GibBreakServer
shNewerShared.png
Entity:HasSpawnFlags
shNewerShared.png
Entity:Health
shNewerShared.png
Entity:InstallDataTable
shNewerShared.png
Entity:IsConstrained
shNewerShared.png
Entity:IsEFlagSet
shNewerShared.png
Entity:IsEffectActive
shNewerShared.png
Entity:IsNPC
shNewerShared.png
Entity:IsOnGround
shNewerShared.png
Entity:IsPlayer
shNewerShared.png
Entity:IsValid
shNewerShared.png
Entity:IsVehicle
shNewerShared.png
Entity:IsWeapon
shNewerShared.png
Entity:IsWorld
shNewerShared.png
Entity:LocalToWorld
shNewerShared.png
Entity:LocalToWorldAngles
shNewerShared.png
Entity:LookupAttachment
shNewerShared.png
Entity:LookupBone
shNewerShared.png
Entity:LookupSequence
shNewerShared.png
Entity:MakePhysicsObjectAShadow
shNewerShared.png
Entity:MuzzleFlash
shNewerShared.png
Entity:NearestPoint
shNewerShared.png
Entity:NextThink
shNewerShared.png
Entity:OBBCenter
shNewerShared.png
Entity:OBBMaxs
shNewerShared.png
Entity:OBBMins
shNewerShared.png
Entity:OnGround
shNewerShared.png
Entity:PhysWake
shNewerShared.png
Entity:PhysicsFromMesh
shNewerShared.png
Entity:PhysicsInit
shNewerShared.png
Entity:PhysicsInitBox
shNewerShared.png
Entity:PhysicsInitShadow
shNewerShared.png
Entity:PhysicsInitSphere
shNewerShared.png
Entity:Remove
shNewerShared.png
Entity:RemoveCallOnRemove
shNewerShared.png
Entity:RemoveEFlags
shNewerShared.png
Entity:RemoveEffects
shNewerShared.png
Entity:ResetSequence
shNewerShared.png
Entity:ResetSequenceInfo
shNewerShared.png
Entity:RestartGesture
shNewerShared.png
Entity:SelectWeightedSequence
shNewerShared.png
Entity:SelectWeightedSequenceSeeded
shNewerShared.png
Entity:SendViewModelMatchingSequence
shNewerShared.png
Entity:SequenceDuration
shNewerShared.png
Entity:SetAngles
shNewerShared.png
Entity:SetAnimation
shNewerShared.png
Entity:SetAttachment
shNewerShared.png
Entity:SetBodygroup
shNewerShared.png
Entity:SetBoneMatrix
shNewerShared.png
Entity:SetCollisionBounds
shNewerShared.png
Entity:SetCollisionBoundsWS
shNewerShared.png
Entity:SetCollisionGroup
shNewerShared.png
Entity:SetColor
shNewerShared.png
Entity:SetCycle
shNewerShared.png
Entity:SetDTAngle
shNewerShared.png
Entity:SetDTBool
shNewerShared.png
Entity:SetDTEntity
shNewerShared.png
Entity:SetDTFloat
shNewerShared.png
Entity:SetDTInt
shNewerShared.png
Entity:SetDTVector
shNewerShared.png
Entity:SetElasticity
shNewerShared.png
Entity:SetEntity
shNewerShared.png
Entity:SetEyeTarget
shNewerShared.png
Entity:SetFlexScale
shNewerShared.png
Entity:SetFlexWeight
shNewerShared.png
Entity:SetFriction
shNewerShared.png
Entity:SetGravity
shNewerShared.png
Entity:SetGroundEntity
shNewerShared.png
Entity:SetHealth
shNewerShared.png
Entity:SetKeyValue
shNewerShared.png
Entity:SetLocalAngles
shNewerShared.png
Entity:SetLocalAngularVelocity β
shNewerShared.png
Entity:SetLocalPos
shNewerShared.png
Entity:SetLocalVelocity
shNewerShared.png
Entity:SetMaterial
shNewerShared.png
Entity:SetModel
shNewerShared.png
Entity:SetModelName
shNewerShared.png
Entity:SetMoveParent
shNewerShared.png
Entity:SetMoveType
shNewerShared.png
Entity:SetNWAngle
shNewerShared.png
Entity:SetNWBool
shNewerShared.png
Entity:SetNWEntity
shNewerShared.png
Entity:SetNWFloat
shNewerShared.png
Entity:SetNWInt
shNewerShared.png
Entity:SetNWString
shNewerShared.png
Entity:SetNWVector
shNewerShared.png
Entity:SetNetworkedAngle
shNewerShared.png
Entity:SetNetworkedBool
shNewerShared.png
Entity:SetNetworkedEntity
shNewerShared.png
Entity:SetNetworkedFloat
shNewerShared.png
Entity:SetNetworkedInt
shNewerShared.png
Entity:SetNetworkedNumber
shNewerShared.png
Entity:SetNetworkedString
shNewerShared.png
Entity:SetNetworkedVar
shNewerShared.png
Entity:SetNetworkedVarProxy
shNewerShared.png
Entity:SetNetworkedVector
shNewerShared.png
Entity:SetNoDraw
shNewerShared.png
Entity:SetNotSolid
shNewerShared.png
Entity:SetOwner
shNewerShared.png
Entity:SetParent
shNewerShared.png
Entity:SetParentPhysNum
shNewerShared.png
Entity:SetPlaybackRate
shNewerShared.png
Entity:SetPos
shNewerShared.png
Entity:SetPoseParameter
shNewerShared.png
Entity:SetRenderFX
shNewerShared.png
Entity:SetRenderMode
shNewerShared.png
Entity:SetSaveValue
shNewerShared.png
Entity:SetSequence
shNewerShared.png
Entity:SetShouldDrawInViewMode
shNewerShared.png
Entity:SetSkin
shNewerShared.png
Entity:SetSolid
shNewerShared.png
Entity:SetTable
shNewerShared.png
Entity:SetVar
shNewerShared.png
Entity:SetVelocity
shNewerShared.png
Entity:SetWeaponModel
shNewerShared.png
Entity:SkinCount
shNewerShared.png
Entity:Spawn
shNewerShared.png
Entity:StartLoopingSound
shNewerShared.png
Entity:StartMotionController
shNewerShared.png
Entity:StopLoopingSound
shNewerShared.png
Entity:StopMotionController
shNewerShared.png
Entity:StopParticles
shNewerShared.png
Entity:StopSound
shNewerShared.png
Entity:TranslateBoneToPhysBone
shNewerShared.png
Entity:TranslatePhysBoneToBone
shNewerShared.png
Entity:ViewModelIndex
shNewerShared.png
Entity:WaterLevel
shNewerShared.png
Entity:Weapon_SetActivity
shNewerShared.png
Entity:Weapon_TranslateActivity
shNewerShared.png
Entity:WorldSpaceAABB
shNewerShared.png
Entity:WorldToLocal
shNewerShared.png
Entity:WorldToLocalAngles
shNewerShared.png
zEntity:__concat
shNewerShared.png
zEntity:__eq
shNewerShared.png
zEntity:__gc
shNewerShared.png
zEntity:__index
shNewerShared.png
zEntity:__newindex
shNewerShared.png
zEntity:__tostring

Server

State Method Name
seNewerServer.png
Entity:BodyTarget
seNewerServer.png
Entity:CreatedByMap
seNewerServer.png
Entity:DeleteOnRemove
seNewerServer.png
Entity:Disposition
seNewerServer.png
Entity:DontDeleteOnRemove
seNewerServer.png
Entity:DropToFloor
seNewerServer.png
Entity:Extinguish
seNewerServer.png
Entity:Fire
seNewerServer.png
Entity:GetBloodColor
seNewerServer.png
Entity:GetConstrainedEntities
seNewerServer.png
Entity:GetConstrainedPhysObjects
seNewerServer.png
Entity:GetCreationID
seNewerServer.png
Entity:GetKeyValues
seNewerServer.png
Entity:GetMaterialType
seNewerServer.png
Entity:GetMaxHealth
seNewerServer.png
Entity:GetName
seNewerServer.png
Entity:GetPhysicsAttacker
seNewerServer.png
Entity:GetToyboxID
seNewerServer.png
Entity:GetUnFreezable
seNewerServer.png
Entity:HeadTarget
seNewerServer.png
Entity:Ignite
seNewerServer.png
Entity:Input
seNewerServer.png
Entity:IsConstraint
seNewerServer.png
Entity:IsInWorld
seNewerServer.png
Entity:IsOnFire
seNewerServer.png
Entity:IsPlayerHolding
seNewerServer.png
Entity:MapCreationID
seNewerServer.png
Entity:PointAtEntity
seNewerServer.png
Entity:PrecacheGibs
seNewerServer.png
Entity:Respawn
seNewerServer.png
Entity:SetBloodColor
seNewerServer.png
Entity:SetMaxHealth
seNewerServer.png
Entity:SetMoveCollide
seNewerServer.png
Entity:SetName
seNewerServer.png
Entity:SetPhysConstraintObjects
seNewerServer.png
Entity:SetPhysicsAttacker
seNewerServer.png
Entity:SetShouldToyboxSave
seNewerServer.png
Entity:SetSolidMask
seNewerServer.png
Entity:SetToyboxID
seNewerServer.png
Entity:SetTrigger
seNewerServer.png
Entity:SetUnFreezable
seNewerServer.png
Entity:SetUseType
seNewerServer.png
Entity:ShouldToyboxSave
seNewerServer.png
Entity:StoreOutput
seNewerServer.png
Entity:TakeDamage
seNewerServer.png
Entity:TakeDamageInfo
seNewerServer.png
Entity:TakePhysicsDamage
seNewerServer.png
Entity:TriggerOutput
seNewerServer.png
Entity:Visible
seNewerServer.png
Entity:VisibleVec

Client

State Method Name
cNewerClient.png
Entity:BecomeRagdollOnClient
cNewerClient.png
Entity:CreateParticleEffect
cNewerClient.png
Entity:CreateShadow
cNewerClient.png
Entity:DestroyShadow
cNewerClient.png
Entity:DrawModel
cNewerClient.png
Entity:FrameAdvance
cNewerClient.png
Entity:GetAnimTime
cNewerClient.png
Entity:GetModelPhysBoneCount
cNewerClient.png
Entity:GetModelScale
cNewerClient.png
Entity:GetModelWorldScale
cNewerClient.png
Entity:GetNetworkAngles
cNewerClient.png
Entity:GetNetworkOrigin
cNewerClient.png
Entity:GetRenderAngles
cNewerClient.png
Entity:GetRenderBounds
cNewerClient.png
Entity:GetRenderGroup
cNewerClient.png
Entity:GetRenderOrigin
cNewerClient.png
Entity:InitializeAsClientEntity
cNewerClient.png
Entity:InvalidateBoneCache
cNewerClient.png
Entity:MarkShadowAsDirty
cNewerClient.png
Entity:SetAnimTime
cNewerClient.png
Entity:SetBonePosition
cNewerClient.png
Entity:SetModelScale
cNewerClient.png
Entity:SetModelWorldScale
cNewerClient.png
Entity:SetNetworkAngles
cNewerClient.png
Entity:SetNetworkOrigin
cNewerClient.png
Entity:SetRenderAngles
cNewerClient.png
Entity:SetRenderBounds
cNewerClient.png
Entity:SetRenderBoundsWS
cNewerClient.png
Entity:SetRenderClipPlane
cNewerClient.png
Entity:SetRenderClipPlaneEnabled
cNewerClient.png
Entity:SetRenderOrigin
cNewerClient.png
Entity:SetupBones
cNewerClient.png
Entity:StopParticleEmission

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox