13 hcls.m_fFwMaxDistance = 2.5;
15 hcls.m_fFwMaxDistance = 1.2;
17 SHumanCommandClimbResult climbRes =
new SHumanCommandClimbResult();
20 if ( climbRes.m_bIsClimb || climbRes.m_bIsClimbOver )
24 if ( !
m_Player.CanClimb( climbType,climbRes ) )
27 if (
Climb(climbRes) )
31 else if ( climbType == 2 )
54 private bool Climb(SHumanCommandClimbResult pClimbRes)
59 m_Player.StartCommand_Climb(pClimbRes, climbType);
63 return climbType != -1;
81 else if( pHeight >= 1.1 && pHeight < 1.7 )
83 else if( pHeight >= 1.7 && pHeight < 2.75 )
private bool Climb(SHumanCommandClimbResult pClimbRes)
void CheckAndFinishJump(int pLandType=0)
void DayZPlayerImplementJumpClimb(DayZPlayerImplement pPlayer)
private int GetClimbType(float pHeight)
private DayZPlayerImplement m_Player
proto static native bool DoClimbTest(Human pHuman, SHumanCommandClimbResult pResult, int pDebugDrawLevel)
DayZPlayerConstants
defined in C++
class SHumanCommandSwimSettings SHumanCommandClimbSettings()