Difference between revisions of "CBaseToggle (CS)"

From AlliedModders Wiki
Jump to: navigation, search
(CBaseToggle offset list)
 
m (moved CBaseToggle to CBaseToggle Offset List (Counter-Strike): Avoiding collision name with Source pages.)
(No difference)

Revision as of 10:26, 26 March 2009

Couter-Strike offset list



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_toggle_state 41 46 +5 TOGGLE_STATE None.
m_flActivateFinished 42 47 +5 float Like attack_finished, but for doors.
m_flMoveDistance 43 48 +5 float How far a door should slide or rotate.
m_flWait 44 49 +5 float None.
m_flLip 45 50 +5 float None.
m_flTWidth 46 51 +5 float For plats.
m_flTLength 47 52 +5 float For plats.
m_vecPosition1 48 53 +5 Vector None.
m_vecPosition2 51 56 +5 Vector None.
m_vecAngle1 54 59 +5 Vector None.
m_vecAngle2 57 62 +5 Vector None.
m_cTriggersLeft 60 65 +5 int Trigger_counter only, # of activations remaining.
m_flHeight 61 66 +5 float None.
m_hActivator 62 67 +5 EHANDLE None.
m_pfnCallWhenMoveDone 64 69 +5 void (CBaseToggle::*)(void) None.
m_vecFinalDest 65 70 +5 Vector None.
m_vecFinalAngle 68 73 +5 Vector None.
m_bitsDamageInflict 71 76 +5 int DMG_ damage type that the door or tigger does.
m_sMaster 72 77 +5 string_t If this button has a master switch, this is the targetname. A master switch must be of the multisource type. If all of the switches in the multisource have been triggered, then the button will be allowed to operate. Otherwise, it will be deactivated.