Entity systemClasses
CHostage
Schema class CHostage, derived from CHostageExpresserShim.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CHostage.h
Inherits CHostageExpresserShim
Fields
| Field | Type |
|---|---|
m_OnHostageBeginGrab | CEntityIOOutput |
m_OnFirstPickedUp | CEntityIOOutput |
m_OnDroppedNotRescued | CEntityIOOutput |
m_OnRescued | CEntityIOOutput |
m_entitySpottedState | EntitySpottedState_t |
m_nSpotRules | int32_t |
m_uiHostageSpawnExclusionGroupMask | uint32_t |
m_nHostageSpawnRandomFactor | uint32_t |
m_bRemove | bool |
m_vel | Vector |
m_isRescued | bool |
m_jumpedThisFrame | bool |
m_nHostageState | int32_t |
m_leader | CHandle<CBaseEntity> |
m_lastLeader | CHandle<CCSPlayerPawnBase> |
m_reuseTimer | CountdownTimer |
m_hasBeenUsed | bool |
m_accel | Vector |
m_isRunning | bool |
m_isCrouching | bool |
m_jumpTimer | CountdownTimer |
m_isWaitingForLeader | bool |
m_repathTimer | CountdownTimer |
m_inhibitDoorTimer | CountdownTimer |
m_inhibitObstacleAvoidanceTimer | CountdownTimer |
m_wiggleTimer | CountdownTimer |
m_isAdjusted | bool |
m_bHandsHaveBeenCut | bool |
m_hHostageGrabber | CHandle<CCSPlayerPawn> |
m_fLastGrabTime | float |
m_vecPositionWhenStartedDroppingToGround | Vector |
m_vecGrabbedPos | Vector |
m_flRescueStartTime | float |
m_flGrabSuccessTime | float |
m_flDropStartTime | float |
m_nApproachRewardPayouts | int32_t |
m_nPickupEventCount | int32_t |
m_vecSpawnGroundPos | Vector |
m_vecHostageResetPosition | Vector |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).