- Deadlock
- server
- CBaseEntity
- CBaseModelEntity
- Inherits
- CBaseEntityCEntityInstance
- Derived classes
- CAssignedLaneParticleCBarnLightCBaseAnimGraphCBaseClientUIEntityCBaseToggleCBeamCBreakableCCitadelBulletRedirectVolume
- Used by fields
- ActiveModelConfig_tm_AssociatedEntitiesCAI_Expresserm_pOuterCBarnLightm_LightStyleTargetsCBaseButtonm_glowEntityCChoreoComponentm_hOwnerCCitadel_Modifier_IcePathm_hSurfShardCCitadel_Modifier_IcePathm_hLastSpawnedShardCDestructiblePartsComponentm_hOwner
- Also in
- clientCounter-Strike 2differsDota 2differsHalf-Life: Alyxdiffers
Fields
NameTypeOffset
type alias CDestructiblePartsSystemComponent*
on change OnRenderAttributesChanged
uint32[1]
on change OnDisabledHitgroupsChanged
MKV3TransferSaveOpsForField: "GetHitgroupDisableListSaveRestoreOps"
basemodelentityspawnable
Keyvalues
Inputs
NamePulseDescription
Alpha(param: int)
—
Color(param: color_rgb)
—
DestructibleHitGroupDestroy(nHitGroup: enum<HitGroup_t>, nDamageLevel: int)
Destroy a destructible hit group. Damage level of -1 means all damage levels, otherwise specify the last one you want to blow up.
—
GetIntactDestructibleHitGroups() → (retval: array<enum<HitGroup_t>>)
Returns the destructible hitgroups that are still intact.
GetJointLimitAngles(pJointName: string) → (retval: bool, MinAngle: float, MaxAngle: float)
Returns the joint limit angles.
Ignite()
—
IgniteHitboxFireScale(param: float)
—
IgniteLifetime(param: float)
—
IgniteNumHitboxFires(param: int)
—
IsDestructibleHitGroupIntact(nHitGroup: enum<HitGroup_t>) → (retval: bool)
True/False if hitgroup is intact. If hitgroup is not a destructible hitgroup you'll get a warning and it'll return false.
SetBodyGroupValue(pBodyGroupName: string, iValue: int)
Change the active choice for the named bodygroup to the specified value
SetJointLimitAngles(pJointName: string, flMinAngle: float, flMaxAngle: float)
Sets the joint limit angles. Only valid for prismatic and revolute joints.
SetJointLimitEnabled(pJointName: string, bEnabled: bool)
Enables/disables the joint limit. Only valid for prismatic and revolute joints.
SetRenderAttribute(pValue: string)
—
SetRenderAttribute4Floats(pAttributeName: string, flX: float, flY: float, flZ: float, flW: float)
Set the specified render attribute value
SetRenderAttributeFloat(pAttributeName: string, flValue: float)
Set the specified render attribute value
SetRenderAttributeVector(pAttributeName: string, vValue: vec3)
Set the specified render attribute value
Skin(param: int)
—
fademaxdist(param: float)
—
fademindist(param: float)
—
Outputs
NameDescription
OnDestructibleHitGroupDamageLevelChanged(nHitGroup: enum<HitGroup_t>, nDamageLevel: int, nDamageLevelsRemaining: int, nPrevDamageLevel: int)
Called when the damage level of destructible part for a particular hit group has been changed.
OnIgnite()
—