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

◆ OnFinish()

override void GearChangeActionCallback::OnFinish ( bool pCanceled)
inlineprivate

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

14 {
15 Human owner = GetHuman();
16 if (owner)
17 {
18 HumanCommandVehicle hcv = owner.GetCommand_Vehicle();
19 if (hcv)
20 {
21 hcv.SetClutchState(false);
22 }
23 }
24 }
proto native void SetClutchState(bool pState)
proto native Human GetHuman()
get the human this cb belongs to

Перекрестные ссылки GetHuman() и HumanCommandVehicle::SetClutchState().