Difference between revisions of "CTriggerCamera (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(CTriggerCamera offset list)
 
 
(One intermediate revision by one other user not shown)
Line 99: Line 99:
 
| style="text-align:center" | 50  
 
| style="text-align:center" | 50  
 
| style="text-align:center" | 55  
 
| style="text-align:center" | 55  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | int
 
| style="text-align:center" | int
 
| None.
 
| None.

Latest revision as of 11:33, 23 June 2015



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