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

◆ StopAllMovement()

void ManBase::StopAllMovement ( )
inlineprotected

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

2058 {
2059 HumanInputController hic = GetInputController();
2060 hic.SetErectSpeedLimit(true, DayZPlayerConstants.MOVEMENTIDX_IDLE);
2061 hic.SetCrouchSpeedLimit(true, DayZPlayerConstants.MOVEMENTIDX_IDLE);
2062 hic.SetProneSpeedLimit(true, DayZPlayerConstants.MOVEMENTIDX_IDLE);
2063 }
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)
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602

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

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