DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RestartAllMovement()

void ManBase::RestartAllMovement ( )
inlineprotected

См. определение в файле PlayerBase.c строка 2065

2066 {
2067 HumanInputController hic = GetInputController();
2068 hic.SetErectSpeedLimit(false);
2069 hic.SetCrouchSpeedLimit(false);
2070 hic.SetProneSpeedLimit(false);
2071 }
proto native void SetCrouchSpeedLimit(bool bShouldDisable, int pMaxErectSpeed=DayZPlayerConstants.MOVEMENTIDX_SPRINT)
proto native void SetErectSpeedLimit(bool bShouldDisable, int pMaxErectSpeed=DayZPlayerConstants.MOVEMENTIDX_SPRINT)
set maximum speed (0 - Idle, 1 - Walk, 2 - Run, 3 - Sprint)
proto native void SetProneSpeedLimit(bool bShouldDisable, int pMaxErectSpeed=DayZPlayerConstants.MOVEMENTIDX_SPRINT)

Перекрестные ссылки HumanInputController::SetCrouchSpeedLimit(), HumanInputController::SetErectSpeedLimit() и HumanInputController::SetProneSpeedLimit().

Используется в OnFinishTransitionFromSurrender().