12 m_pSettings = pPlayer.GetDayZPlayerType().CommandSwimSettingsW();
private void DayZPlayerUtils()
cannot be instantiated
override void SetCurrentWaterLevel(float pWaterLevel)
float GetCharacterDepth()
bool HandleSwimming(int pCurrentCommandID, HumanCommandMove pCMove, HumanMovementState pState)
ha
void DayZPlayerImplementSwimming(DayZPlayer pPlayer)
bool CheckSwimmingStart(out vector waterLevel)
SHumanCommandSwimSettings m_pSettings
proto native void SetCurrentWaterLevel(float value)
sets water level (depth)
proto native void ForceStanceUp(int pStanceIdx)
int m_iStanceIdx
current command's id
float m_fToCrouchLevel
when to crouch
float m_fToErectLevel
when to stand
float m_fWaterLevelOut
what water level causes to stop swimming (1.2m)
DayZPlayerConstants
defined in C++
class HumanCommandLadder HumanCommandSwim()