CTriggerCamera (CS)

From AlliedModders Wiki
Revision as of 11:33, 23 June 2015 by Rirre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_hPlayer 36 41 +5 EHANDLE None.
m_hTarget 38 43 +5 EHANDLE None.
m_pentPath 40 45 +5 CBaseEntity* Use get_pdata_cbase().
m_sPath 41 46 +5 int None.
m_flWait 42 47 +5 float None.
m_flReturnTime 43 48 +5 float None.
m_flStopTime 44 49 +5 float None.
m_moveDistance 45 50 +5 float None.
m_targetSpeed 46 51 +5 float None.
m_initialSpeed 47 52 +5 float None.
m_acceleration 48 53 +5 float None.
m_deceleration 49 54 +5 float None.
m_state 50 55 +4 int None.


Constants

// Spawn flags
#define SF_CAMERA_PLAYER_POSITION     1
#define SF_CAMERA_PLAYER_TARGET       2
#define SF_CAMERA_PLAYER_TAKECONTROL  4