Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
HumanMovementState Class Reference

Private Member Functions

bool IsInProne ()
bool IsInRaisedProne ()
bool IsLeaning ()
bool IsRaised ()
bool IsRaisedInProne ()

Private Attributes

int m_CommandTypeId
float m_fLeaning
 current movement (0 idle, 1 walk, 2-run, 3-sprint), only if the command has a movement
int m_iMovement
 current stance (DayZPlayerConstants.STANCEIDX_ERECT, ...), only if the command has a stance
int m_iStanceIdx
 current command's id
int m_LocalMovement = -1
 leaning state (not all commands need to have all movements)

Detailed Description

Definition at line 1153 of file human.c.

Member Function Documentation

◆ IsInProne()

bool IsInProne ( )
inlineprivate

Definition at line 1175 of file human.c.

Referenced by SmptAnimMetaADD::Update(), and Weapon::UseWeaponObstruction().

◆ IsInRaisedProne()

bool IsInRaisedProne ( )
inlineprivate

Definition at line 1181 of file human.c.

References m_iStanceIdx.

Referenced by Weapon::UseWeaponObstruction().

◆ IsLeaning()

bool IsLeaning ( )
inlineprivate

Definition at line 1187 of file human.c.

References m_fLeaning.

◆ IsRaised()

bool IsRaised ( )
inlineprivate

Definition at line 1163 of file human.c.

Referenced by ActionDropItemCB::CancelCondition(), and Weapon::LiftWeaponCheckEx().

◆ IsRaisedInProne()

bool IsRaisedInProne ( )
inlineprivate

Definition at line 1169 of file human.c.

Field Documentation

◆ m_CommandTypeId

int m_CommandTypeId
private

◆ m_fLeaning

float m_fLeaning
private

current movement (0 idle, 1 walk, 2-run, 3-sprint), only if the command has a movement

Definition at line 1158 of file human.c.

Referenced by Weapon::ApproximateWeaponLiftTransform(), and IsLeaning().

◆ m_iMovement

◆ m_iStanceIdx

◆ m_LocalMovement

int m_LocalMovement = -1
private

leaning state (not all commands need to have all movements)

Definition at line 1160 of file human.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/3_game/human.c