CBaseEntity: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "== Overview == The class from which all entity types derive from. The only exceptions to this are [https://wiki.alliedmods.net/TempEnts_(SourceMod_SDKTools) TempEnts], whi...") Tag: Replaced |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
|'''m_vecOrigin''' | |'''m_vecOrigin''' | ||
|Vector | |Vector | ||
|The local position of | |The local position of this entity relative to it's parent. If this entity has no parent, the position is relative to the world origin. | ||
|- | |- | ||
|'''m_ubInterpolationFrame''' | |'''m_ubInterpolationFrame''' | ||
Line 35: | Line 35: | ||
|- | |- | ||
|'''m_nModelIndex''' | |'''m_nModelIndex''' | ||
| | |Short | ||
|The index for this entity's precached model. Changing this does nothing in TF2. | |The index for this entity's precached model. Changing this does nothing in TF2. | ||
|- | |- | ||
Line 44: | Line 44: | ||
| style="width: 50%;" |'''m_vecMinsPreScaled''' | | style="width: 50%;" |'''m_vecMinsPreScaled''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" |The mins coordinate point for the Collision bounding box of | | style="width: 35%;" |The mins coordinate point for the Collision bounding box of this entity '''before''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
|'''m_vecMaxsPreScaled''' | |'''m_vecMaxsPreScaled''' | ||
|Vector | |Vector | ||
|The maxs coordinate point for the Collision bounding box of | |The maxs coordinate point for the Collision bounding box of this entity '''before''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
|'''m_vecMins''' | |'''m_vecMins''' | ||
|Vector | |Vector | ||
|The mins coordinate point for the Collision bounding box of | |The mins coordinate point for the Collision bounding box of this entity '''after''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
|'''m_vecMaxs''' | |'''m_vecMaxs''' | ||
|Vector | |Vector | ||
|The maxs coordinate point for the Collision bounding box of | |The maxs coordinate point for the Collision bounding box of this entity '''after''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
|'''m_nSolidType''' | |'''m_nSolidType''' | ||
|Char | |Unsigned Char | ||
|Determines the type of collision representation for the bounding volume. | |Determines the type of collision representation for the bounding volume. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
Line 76: | Line 76: | ||
|- | |- | ||
|'''m_usSolidFlags''' | |'''m_usSolidFlags''' | ||
| | |Unsigned Short | ||
|Flags for modifying certain aspects of entity solidity. | |Flags for modifying certain aspects of entity solidity. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
Line 83: | Line 83: | ||
| | | | ||
* 0 - None | * 0 - None | ||
* 1 - Ignore solid type + always call into | * 1 - Ignore solid type + always call into this entity for ray tests | ||
* 2 - Ignore solid type + always call into | * 2 - Ignore solid type + always call into this entity for swept box tests | ||
* 4 - Are we currently not solid? | * 4 - Are we currently not solid? | ||
* 8 - This is something may be collideable but fires touch functions even when it's not collideable (when the FSOLID_NOT_SOLID (4) flag is set) | * 8 - This is something may be collideable but fires touch functions even when it's not collideable (when the FSOLID_NOT_SOLID (4) flag is set) | ||
Line 96: | Line 96: | ||
|- | |- | ||
|'''m_nSurroundType''' | |'''m_nSurroundType''' | ||
| | |Unsigned Char | ||
| | | | ||
|- | |- | ||
|'''m_triggerBloat''' | |'''m_triggerBloat''' | ||
| | |Unsigned Char | ||
| | | | ||
|- | |- | ||
|'''m_bUniformTriggerBloat''' | |'''m_bUniformTriggerBloat''' | ||
|Boolean | |Boolean | ||
| | |Not in source? | ||
|- | |- | ||
|'''m_vecSpecifiedSurroundingMinsPreScaled''' | |'''m_vecSpecifiedSurroundingMinsPreScaled''' | ||
Line 125: | Line 125: | ||
|- | |- | ||
|'''m_nRenderFX''' | |'''m_nRenderFX''' | ||
| | |Unsigned Char | ||
| | | | ||
|- | |- | ||
|'''m_nRenderMode''' | |'''m_nRenderMode''' | ||
| | |Unsigned Char | ||
|The mode in which this entity should attempt to be rendered. | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
! colspan="1" |Values | |||
|- | |||
| | | | ||
* 0 - Normal | |||
* 1 - Color | |||
* 2 - Texture | |||
* 3 - Glow | |||
* 4 - Solid/Alphatest | |||
* 5 - Additive | |||
* 6 - Removed, does nothing | |||
* 7 - Additive Fractional Frame | |||
* 8 - Alpha Add | |||
* 9 - World Space Glow | |||
* 10 - Don't Render | |||
|} | |||
|- | |- | ||
|'''m_fEffects''' | |'''m_fEffects''' | ||
Line 138: | Line 154: | ||
|'''m_clrRender''' | |'''m_clrRender''' | ||
|Integer | |Integer | ||
|An integer representing the RGB render color of | |An integer representing the RGB render color of this entity. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
! colspan="1" | Calculating The Value | ! colspan="1" | Calculating The Value | ||
Line 210: | Line 226: | ||
|- | |- | ||
|'''m_hOwnerEntity''' | |'''m_hOwnerEntity''' | ||
| | |Handle | ||
|The owner of this entity, not to be confused with the parent (moveparent). A common example of ownership is players owning the projectiles that they fire. Some entities may not work properly if you create them without giving them an owner. | |The owner of this entity, not to be confused with the parent (moveparent). A common example of ownership is players owning the projectiles that they fire. Some entities may not work properly if you create them without giving them an owner. | ||
|- | |- | ||
|'''m_hEffectEntity''' | |'''m_hEffectEntity''' | ||
| | |Handle | ||
| | | | ||
|- | |- | ||
Line 222: | Line 238: | ||
|- | |- | ||
|'''m_iParentAttachment''' | |'''m_iParentAttachment''' | ||
| | |Unsigned Char | ||
| | |The attachment point on the parent entity which this entity is held to. | ||
|- | |- | ||
|'''movetype''' | |'''movetype''' | ||
|Char | |Unsigned Char | ||
|Determines the movement behavior for this entity. | |Determines the movement behavior for this entity. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
Line 247: | Line 263: | ||
|- | |- | ||
|'''movecollide''' | |'''movecollide''' | ||
|Char | |Unsigned Char | ||
| | | | ||
|- | |- | ||
Line 255: | Line 271: | ||
|- | |- | ||
|'''m_iTextureFrameIndex''' | |'''m_iTextureFrameIndex''' | ||
| | |Unsigned Char | ||
| | | | ||
|- | |- | ||
Line 289: | Line 305: | ||
| style="width: 50%;" |'''000''' | | style="width: 50%;" |'''000''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" | | | style="width: 35%;" |For <code>VISION_MODE_NONE</code> | ||
|- | |- | ||
|'''001''' | |'''001''' | ||
|Integer | |Integer | ||
| | |For <code>VISION_MODE_PYRO</code> | ||
|- | |- | ||
|'''002''' | |'''002''' | ||
|Integer | |Integer | ||
| | |For <code>VISION_MODE_HALLOWEEN</code> | ||
|- | |- | ||
|'''003''' | |'''003''' | ||
|Integer | |Integer | ||
| | |For <code>VISION_MODE_ROME</code> | ||
|} | |} | ||
|} | |} | ||
Line 345: | Line 361: | ||
|- | |- | ||
| style="width: 50%;" |'''InputAddContext''' | | style="width: 50%;" |'''InputAddContext''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputAddOutput''' | | style="width: 50%;" |'''InputAddOutput''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputAlpha''' | | style="width: 50%;" |'''InputAlpha''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Integer) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputAlternativeSorting''' | | style="width: 50%;" |'''InputAlternativeSorting''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Boolean) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputClearContext''' | | style="width: 50%;" |'''InputClearContext''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputClearParent''' | | style="width: 50%;" |'''InputClearParent''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputColor''' | | style="width: 50%;" |'''InputColor''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Color32) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputDisableDamageForces''' | | style="width: 50%;" |'''InputDisableDamageForces''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputDisableShadow''' | | style="width: 50%;" |'''InputDisableShadow''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputDispatchEffect''' | | style="width: 50%;" |'''InputDispatchEffect''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputDispatchResponse''' | | style="width: 50%;" |'''InputDispatchResponse''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputEnableDamageForces''' | | style="width: 50%;" |'''InputEnableDamageForces''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputEnableShadow''' | | style="width: 50%;" |'''InputEnableShadow''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputFireUser1''' | | style="width: 50%;" |'''InputFireUser1''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputFireUser2''' | | style="width: 50%;" |'''InputFireUser2''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputFireUser3''' | | style="width: 50%;" |'''InputFireUser3''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputFireUser4''' | | style="width: 50%;" |'''InputFireUser4''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputKill''' | | style="width: 50%;" |'''InputKill''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputKillHierarchy''' | | style="width: 50%;" |'''InputKillHierarchy''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputRemoveContext''' | | style="width: 50%;" |'''InputRemoveContext''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputSetDamageFilter''' | | style="width: 50%;" |'''InputSetDamageFilter''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputSetParent''' | | style="width: 50%;" |'''InputSetParent''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputSetParentAttachment''' | | style="width: 50%;" |'''InputSetParentAttachment''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputSetParentAttachmentMaintainOffset''' | | style="width: 50%;" |'''InputSetParentAttachmentMaintainOffset''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (String) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputSetTeam''' | | style="width: 50%;" |'''InputSetTeam''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Integer) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''InputUse''' | | style="width: 50%;" |'''InputUse''' | ||
| style="width: 15%;" |Input | | style="width: 15%;" |Input (Void) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 454: | Line 470: | ||
| style="width: 50%;" |'''m_bUniformTriggerBloat''' | | style="width: 50%;" |'''m_bUniformTriggerBloat''' | ||
| style="width: 15%;" |Boolean | | style="width: 15%;" |Boolean | ||
| style="width: 35%;" | | | style="width: 35%;" |Not in source? | ||
|- | |- | ||
| style="width: 50%;" |'''m_flRadius''' | | style="width: 50%;" |'''m_flRadius''' | ||
Line 478: | Line 494: | ||
| style="width: 50%;" |'''m_vecMaxs''' | | style="width: 50%;" |'''m_vecMaxs''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" |The maxs coordinate point for the Collision bounding box of | | style="width: 35%;" |The maxs coordinate point for the Collision bounding box of this entity '''after''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecMaxsPreScaled''' | | style="width: 50%;" |'''m_vecMaxsPreScaled''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" |The maxs coordinate point for the Collision bounding box of | | style="width: 35%;" |The maxs coordinate point for the Collision bounding box of this entity '''before''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecMins''' | | style="width: 50%;" |'''m_vecMins''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" |The mins coordinate point for the Collision bounding box of | | style="width: 35%;" |The mins coordinate point for the Collision bounding box of this entity '''after''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecMinsPreScaled''' | | style="width: 50%;" |'''m_vecMinsPreScaled''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" |The mins coordinate point for the Collision bounding box of | | style="width: 35%;" |The mins coordinate point for the Collision bounding box of this entity '''before''' any changes are made to it, such as through the modelscale keyvalue. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecSpecifiedSurroundingMaxs''' | | style="width: 50%;" |'''m_vecSpecifiedSurroundingMaxs''' | ||
Line 571: | Line 587: | ||
|- | |- | ||
| style="width: 50%;" |'''m_hParent''' | | style="width: 50%;" |'''m_hParent''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} | ||
Line 621: | Line 637: | ||
| style="width: 50%;" |'''m_clrRender''' | | style="width: 50%;" |'''m_clrRender''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" |An integer representing the RGB render color of | | style="width: 35%;" |An integer representing the RGB render color of this entity. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
! colspan="1" | Calculating The Value | ! colspan="1" | Calculating The Value | ||
Line 663: | Line 679: | ||
| style="width: 50%;" |'''m_flGravity''' | | style="width: 50%;" |'''m_flGravity''' | ||
| style="width: 15%;" |Float | | style="width: 15%;" |Float | ||
| style="width: 35%;" | | | style="width: 35%;" |A modifier for the gravity of this entity. 0 does not mean "zero gravity", but rather it means this datamap does not modify anything. 1 is normal gravity. | ||
|- | |- | ||
| style="width: 50%;" |'''m_flGroundChangeTime''' | | style="width: 50%;" |'''m_flGroundChangeTime''' | ||
Line 702: | Line 718: | ||
|- | |- | ||
| style="width: 50%;" |'''m_hDamageFilter''' | | style="width: 50%;" |'''m_hDamageFilter''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" |The entity used as a damage filter for this entity. | | style="width: 35%;" |The entity used as a damage filter for this entity. | ||
|- | |- | ||
| style="width: 50%;" |'''m_hEffectEntity''' | | style="width: 50%;" |'''m_hEffectEntity''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_hGroundEntity''' | | style="width: 50%;" |'''m_hGroundEntity''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_hMoveChild''' | | style="width: 50%;" |'''m_hMoveChild''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" |The first immediate child of this entity in the movement hierarchy. | ||
|- | |- | ||
| style="width: 50%;" |'''m_hMoveParent''' | | style="width: 50%;" |'''m_hMoveParent''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" |The immediate parent of this entity in the movement hierarchy. | ||
|- | |- | ||
| style="width: 50%;" |'''m_hMovePeer''' | | style="width: 50%;" |'''m_hMovePeer''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" |The next immediate sibling (entity with the same parent) of this entity in the movement hierarchy. | ||
|- | |- | ||
| style="width: 50%;" |'''m_hOwnerEntity''' | | style="width: 50%;" |'''m_hOwnerEntity''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" |The owner of this entity, not to be confused with the parent (moveparent). A common example of ownership is players owning the projectiles that they fire. Some entities may not work properly if you create them without giving them an owner. | ||
|- | |- | ||
| style="width: 50%;" |'''m_iClassname''' | | style="width: 50%;" |'''m_iClassname''' | ||
Line 747: | Line 763: | ||
| style="width: 50%;" |'''m_iHealth''' | | style="width: 50%;" |'''m_iHealth''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" |The current health of | | style="width: 35%;" |The current health of this entity. | ||
|- | |- | ||
| style="width: 50%;" |'''m_iInitialTeamNum''' | | style="width: 50%;" |'''m_iInitialTeamNum''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" | | | style="width: 35%;" |The initial team this entity is a part of when it spawns. For players this is just 0. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
! colspan="1" |Values | |||
|- | |||
| | |||
* 0 - None | |||
* 1 - Spectator | |||
* 2 - RED | |||
* 3 - BLU | |||
* 5 - Boss / Neutral | |||
|} | |||
|- | |- | ||
| style="width: 50%;" |'''m_iMaxHealth''' | | style="width: 50%;" |'''m_iMaxHealth''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" |The max health of | | style="width: 35%;" |The max health of this entity. | ||
|- | |- | ||
| style="width: 50%;" |'''m_iName''' | | style="width: 50%;" |'''m_iName''' | ||
Line 766: | Line 792: | ||
|- | |- | ||
| style="width: 50%;" |'''m_iParentAttachment''' | | style="width: 50%;" |'''m_iParentAttachment''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 784: | Line 810: | ||
|- | |- | ||
| style="width: 50%;" |'''m_iTextureFrameIndex''' | | style="width: 50%;" |'''m_iTextureFrameIndex''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 796: | Line 822: | ||
|- | |- | ||
| style="width: 50%;" |'''m_lifeState''' | | style="width: 50%;" |'''m_lifeState''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 804: | Line 830: | ||
|- | |- | ||
| style="width: 50%;" |'''m_nModelIndex''' | | style="width: 50%;" |'''m_nModelIndex''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Short | ||
| style="width: 35%;" |The index for this entity's precached model. Changing this does nothing in TF2. | | style="width: 35%;" |The index for this entity's precached model. Changing this does nothing in TF2. | ||
|- | |- | ||
| style="width: 50%;" |'''m_nModelIndexOverrides''' | | style="width: 50%;" |'''m_nModelIndexOverrides''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Array (Integer) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 816: | Line 842: | ||
|- | |- | ||
| style="width: 50%;" |'''m_nRenderFX''' | | style="width: 50%;" |'''m_nRenderFX''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_nRenderMode''' | | style="width: 50%;" |'''m_nRenderMode''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" |The mode in which this entity should attempt to be rendered. | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
! colspan="1" |Values | |||
|- | |||
| | |||
* 0 - Normal | |||
* 1 - Color | |||
* 2 - Texture | |||
* 3 - Glow | |||
* 4 - Solid/Alphatest | |||
* 5 - Additive | |||
* 6 - Removed, does nothing | |||
* 7 - Additive Fractional Frame | |||
* 8 - Alpha Add | |||
* 9 - World Space Glow | |||
* 10 - Don't Render | |||
|} | |||
|- | |- | ||
| style="width: 50%;" |'''m_nSimulationTick''' | | style="width: 50%;" |'''m_nSimulationTick''' | ||
Line 828: | Line 870: | ||
|- | |- | ||
| style="width: 50%;" |'''m_nTransmitStateOwnedCounter''' | | style="width: 50%;" |'''m_nTransmitStateOwnedCounter''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_nWaterLevel''' | | style="width: 50%;" |'''m_nWaterLevel''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" |How far this entity is submerged in water. For players, the values are like so: | ||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
! colspan="1" |Values | |||
|- | |||
| | |||
* 0 - Not touching water. | |||
* 1 - Touching water, but our movement is unaffected. (Water at our feet) | |||
* 2 - Swimming, but our head isn't below the surface. (We can still breath) | |||
* 3 - Completely submerged in water. | |||
|} | |||
|- | |- | ||
| style="width: 50%;" |'''m_nWaterType''' | | style="width: 50%;" |'''m_nWaterType''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_pBlocker''' | | style="width: 50%;" |'''m_pBlocker''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_pParent''' | | style="width: 50%;" |'''m_pParent''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_pPhysicsObject''' | | style="width: 50%;" |'''m_pPhysicsObject''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 872: | Line 923: | ||
|- | |- | ||
| style="width: 50%;" |'''m_rgflCoordinateFrame''' | | style="width: 50%;" |'''m_rgflCoordinateFrame''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Array (Float) | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_spawnflags''' | | style="width: 50%;" |'''m_spawnflags''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" | | | style="width: 35%;" |The spawnflags for this entity. | ||
|- | |- | ||
| style="width: 50%;" |'''m_takedamage''' | | style="width: 50%;" |'''m_takedamage''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Char | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
Line 889: | Line 940: | ||
| style="width: 50%;" |'''m_vecAbsOrigin''' | | style="width: 50%;" |'''m_vecAbsOrigin''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" | | | style="width: 35%;" |The absolute position of this entity relative to the world. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecAbsVelocity''' | | style="width: 50%;" |'''m_vecAbsVelocity''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" | | | style="width: 35%;" |The absolute velocity of this entity relative to the world. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecAngVelocity''' | | style="width: 50%;" |'''m_vecAngVelocity''' | ||
Line 905: | Line 956: | ||
| style="width: 50%;" |'''m_vecOrigin''' | | style="width: 50%;" |'''m_vecOrigin''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" | | | style="width: 35%;" |The local position of this entity relative to it's parent. If this entity has no parent, the position is relative to the world | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecVelocity''' | | style="width: 50%;" |'''m_vecVelocity''' | ||
| style="width: 15%;" |Vector | | style="width: 15%;" |Vector | ||
| style="width: 35%;" | | | style="width: 35%;" |The local velocity of this entity relative to it's parent. If this entity has no parent, the velocity is relative to the world. | ||
|- | |- | ||
| style="width: 50%;" |'''m_vecViewOffset''' | | style="width: 50%;" |'''m_vecViewOffset''' |
Revision as of 18:27, 13 November 2022
Overview
The class from which all entity types derive from. The only exceptions to this are TempEnts, which are temporary entities that are too simple to warrant the overhead of inheriting from CBaseEntity.
Source location : /game/server/baseentity.h
Go back to Classes
SendProps
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
m_flSimulationTime | Integer | |||||||||||||||||||||||||||||||||||||||||||||||
m_vecOrigin | Vector | The local position of this entity relative to it's parent. If this entity has no parent, the position is relative to the world origin. | ||||||||||||||||||||||||||||||||||||||||||||||
m_ubInterpolationFrame | Integer | |||||||||||||||||||||||||||||||||||||||||||||||
m_nModelIndex | Short | The index for this entity's precached model. Changing this does nothing in TF2. | ||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
m_nRenderFX | Unsigned Char | |||||||||||||||||||||||||||||||||||||||||||||||
m_nRenderMode | Unsigned Char | The mode in which this entity should attempt to be rendered.
| ||||||||||||||||||||||||||||||||||||||||||||||
m_fEffects | Integer | |||||||||||||||||||||||||||||||||||||||||||||||
m_clrRender | Integer | An integer representing the RGB render color of this entity.
| ||||||||||||||||||||||||||||||||||||||||||||||
m_iTeamNum | Integer | The team this entity is a part of.
| ||||||||||||||||||||||||||||||||||||||||||||||
m_CollisionGroup | Integer | Modifies what this entity collides with.
| ||||||||||||||||||||||||||||||||||||||||||||||
m_flElasticity | Float | |||||||||||||||||||||||||||||||||||||||||||||||
m_flShadowCastDistance | Float | |||||||||||||||||||||||||||||||||||||||||||||||
m_hOwnerEntity | Handle | The owner of this entity, not to be confused with the parent (moveparent). A common example of ownership is players owning the projectiles that they fire. Some entities may not work properly if you create them without giving them an owner. | ||||||||||||||||||||||||||||||||||||||||||||||
m_hEffectEntity | Handle | |||||||||||||||||||||||||||||||||||||||||||||||
moveparent | String | The immediate parent of this entity in the movement hierarchy. The targetname of the parent is used, rather than a Handle to the parent entity itsself. | ||||||||||||||||||||||||||||||||||||||||||||||
m_iParentAttachment | Unsigned Char | The attachment point on the parent entity which this entity is held to. | ||||||||||||||||||||||||||||||||||||||||||||||
movetype | Unsigned Char | Determines the movement behavior for this entity.
| ||||||||||||||||||||||||||||||||||||||||||||||
movecollide | Unsigned Char | |||||||||||||||||||||||||||||||||||||||||||||||
m_angRotation | Vector | The rotation vector of this entity relative to it's parent. If this entity has no parent the vector is relative to the world. For players only Yaw is non zero. | ||||||||||||||||||||||||||||||||||||||||||||||
m_iTextureFrameIndex | Unsigned Char | |||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
m_bSimulatedEveryTick | Boolean | |||||||||||||||||||||||||||||||||||||||||||||||
m_bAnimatedEveryTick | Boolean | |||||||||||||||||||||||||||||||||||||||||||||||
m_bAlternateSorting | Boolean | |||||||||||||||||||||||||||||||||||||||||||||||
|
Entity DataMaps
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CBaseEntitySUB_CallUseToggle | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntitySUB_DoNothing | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntitySUB_FadeOut | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntitySUB_Remove | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntitySUB_StartFadeOut | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntitySUB_StartFadeOutInstant | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntitySUB_Vanish | |||||||||||||||||||||||||||||||||||||||||||||||||||||
CBaseEntityShadowCastDistThink | |||||||||||||||||||||||||||||||||||||||||||||||||||||
InputAddContext | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputAddOutput | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputAlpha | Input (Integer) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputAlternativeSorting | Input (Boolean) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputClearContext | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputClearParent | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputColor | Input (Color32) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputDisableDamageForces | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputDisableShadow | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputDispatchEffect | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputDispatchResponse | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputEnableDamageForces | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputEnableShadow | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputFireUser1 | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputFireUser2 | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputFireUser3 | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputFireUser4 | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputKill | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputKillHierarchy | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputRemoveContext | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputSetDamageFilter | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputSetParent | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputSetParentAttachment | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputSetParentAttachmentMaintainOffset | Input (String) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputSetTeam | Input (Integer) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
InputUse | Input (Void) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
m_CollisionGroup | Integer | Modifies what this entity collides with.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
m_ModelName | String | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_MoveCollide | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_MoveType | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
m_OnUser1 | Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_OnUser2 | Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_OnUser3 | Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_OnUser4 | Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_ResponseContexts | Vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_aThinkFunctions | Vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_angAbsRotation | Vector | The rotation vector of this entity relative to the world. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_angRotation | Vector | The rotation vector of this entity relative to it's parent. If it has no parent the vector will be relative to the world. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_bAlternateSorting | Boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_bAnimatedEveryTick | Boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_bSimulatedEveryTick | Boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_clrRender | Integer | An integer representing the RGB render color of this entity.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
m_debugOverlays | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_fEffects | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_fFlags | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flAnimTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flDesiredShadowCastDistance | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flElasticity | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flFriction | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flGravity | Float | A modifier for the gravity of this entity. 0 does not mean "zero gravity", but rather it means this datamap does not modify anything. 1 is normal gravity. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_flGroundChangeTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flLocalTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flMoveDoneTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flNavIgnoreUntilTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flPrevAnimTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flShadowCastDistance | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flSimulationTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flSpeed | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_flVPhysicsUpdateLocalTime | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_hDamageFilter | Handle | The entity used as a damage filter for this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_hEffectEntity | Handle | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_hGroundEntity | Handle | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_hMoveChild | Handle | The first immediate child of this entity in the movement hierarchy. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_hMoveParent | Handle | The immediate parent of this entity in the movement hierarchy. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_hMovePeer | Handle | The next immediate sibling (entity with the same parent) of this entity in the movement hierarchy. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_hOwnerEntity | Handle | The owner of this entity, not to be confused with the parent (moveparent). A common example of ownership is players owning the projectiles that they fire. Some entities may not work properly if you create them without giving them an owner. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iClassname | String | The class name of this entity (not the C++ Class name). | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iEFlags | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_iGlobalname | String | A string used to preserve entity state between map changes. When a map change is initiated, this entity will have it's entity state transferred over to entities in the new map with global names matching this one. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iHammerID | Integer | An ID unique to the entity type (if it's a brush it'll be unique between all brushes). An entity will only have a Hammer ID if it was compiled with the map (if it's not dynamically spawned). | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iHealth | Integer | The current health of this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iInitialTeamNum | Integer | The initial team this entity is a part of when it spawns. For players this is just 0.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iMaxHealth | Integer | The max health of this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iName | String | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_iParent | String | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_iParentAttachment | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_iTeamNum | Integer | The team this entity is a part of.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iTextureFrameIndex | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_iszDamageFilterName | String | The name of the damage filter for this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_iszResponseContext | String | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_lifeState | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nLastThinkTick | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nModelIndex | Short | The index for this entity's precached model. Changing this does nothing in TF2. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_nModelIndexOverrides | Array (Integer) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nNextThinkTick | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nRenderFX | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nRenderMode | Char | The mode in which this entity should attempt to be rendered.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
m_nSimulationTick | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nTransmitStateOwnedCounter | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_nWaterLevel | Char | How far this entity is submerged in water. For players, the values are like so:
| |||||||||||||||||||||||||||||||||||||||||||||||||||
m_nWaterType | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pBlocker | Handle | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pParent | Handle | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pPhysicsObject | Handle | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pfnBlocked | Function | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pfnMoveDone | Function | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pfnThink | Function | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pfnTouch | Function | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_pfnUse | Function | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_rgflCoordinateFrame | Array (Float) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_spawnflags | Integer | The spawnflags for this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_takedamage | Char | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_target | String | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecAbsOrigin | Vector | The absolute position of this entity relative to the world. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecAbsVelocity | Vector | The absolute velocity of this entity relative to the world. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecAngVelocity | Vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecBaseVelocity | Vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecOrigin | Vector | The local position of this entity relative to it's parent. If this entity has no parent, the position is relative to the world | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecVelocity | Vector | The local velocity of this entity relative to it's parent. If this entity has no parent, the velocity is relative to the world. | |||||||||||||||||||||||||||||||||||||||||||||||||||
m_vecViewOffset | Vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||
touchStamp | Integer |