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

◆ OnExecute()

override void ActionStopEngineBoat::OnExecute ( ActionData action_data)
inlineprivate

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

34 {
35 HumanCommandVehicle vehCmd = action_data.m_Player.GetCommand_Vehicle();
36 if (!vehCmd)
37 return;
38
39 Boat boat = Boat.Cast(vehCmd.GetTransport());
40 if (boat)
41 boat.EngineStop();
42
43 }
proto native Transport GetTransport()

Перекрестные ссылки ActionData и HumanCommandVehicle::GetTransport().