7 bool m_bWasSwimming =
false;
12 m_pSettings = pPlayer.GetDayZPlayerType().CommandSwimSettingsW();
23 float GetCharacterDepth()
31 bool CheckSwimmingStart(out
vector waterLevel)
42 m_bWasSwimming =
false;
48 if (CheckSwimmingStart(wl))
51 m_bWasSwimming =
true;
58 pCMove.SetCurrentWaterLevel(wl[1]);
70 m_bWasSwimming =
true;
83 m_bWasSwimming =
true;
94 if (GetWaterDepth() < m_pSettings.m_fWaterLevelOut)
100 m_bWasSwimming =
false;
106 m_bWasSwimming =
true;