icliententity
Base class of all entities, inherited into CBaseEntity, CBaseCombatWeapon classes
🚧 API of this file is not finished yet and could be changed in any time
Functions
GetRefEHandle
Returns:
Type
Description
CBaseHandle
reference of current entity handle
Code:
local hHandle = pEntity:GetRefEHandle()GetRenderOrigin
Returns:
Type
Description
render origin
Code:
local vecRenderOrigin = pEntity:GetRenderOrigin()GetRenderAngles
Returns:
Type
Description
render view point
Code:
IsDormant
Returns:
Type
Description
bool
true if entity have dormancy
Code:
GetIndex
Returns:
Type
Description
int
entity index
Code:
GetAbsOrigin
Returns:
Type
Description
absolute origin
Code:
GetAbsAngles
Returns:
Type
Description
absolute view point
Code:
SetAbsOrigin
Parameters:
Name
Type
Description
Code:
SetAbsAngles
Parameters:
Name
Type
Description
Code:
SetModelIndex
Parameters:
Name
Type
Description
nModelIndex
int
override model index to set
Code:
GetPropertyBool, GetPropertyInt, GetPropertyFloat, GetPropertyVector, GetPropertyVector2D, GetPropertyQAngle, GetPropertyHandle
Parameters:
Name
Type
Description
szNetwordVariable
string
class and network variable name to get
Returns:
Code:
SetPropertyBool, SetPropertyInt, SetPropertyFloat, SetPropertyVector, SetPropertyVector2D, SetPropertyQAngle, SetPropertyHandle
Parameters:
Code:
Last updated
Was this helpful?