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

◆ OnStart()

override void ActionGetOutTransport::OnStart ( ActionData action_data)
inlineprotected

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

170 {
171 super.OnStart(action_data);
172
173 HumanCommandVehicle vehCommand = action_data.m_Player.GetCommand_Vehicle();
174 if (vehCommand)
175 {
176 Transport trans = vehCommand.GetTransport();
177 if (trans)
178 {
179 GetOutTransportActionData gotActionData = GetOutTransportActionData.Cast(action_data);
180 ProcessGetOutTransportActionData(trans, gotActionData);
181
182 if (!gotActionData.m_WasJumpingOutAnim)
183 vehCommand.GetOutVehicle();
184 else
185 vehCommand.JumpOutVehicle();
186
187 if (Car.Cast(trans))
188 GetDayZGame().GetBacklit().OnLeaveCar();
189
190 if (action_data.m_Player.GetInventory())
191 action_data.m_Player.GetInventory().LockInventory(LOCK_FROM_SCRIPT);
192 }
193 }
194 }
DayZGame GetDayZGame()
Определения DayZGame.c:4076
PlayerBase m_Player
Определения ActionBase.c:40
void ProcessGetOutTransportActionData(Transport veh, GetOutTransportActionData got_action_data)
Определения ActionGetOutTransport.c:138
proto native Transport GetTransport()
proto native void GetOutVehicle()
proto native void JumpOutVehicle()

Перекрестные ссылки GetDayZGame(), HumanCommandVehicle::GetOutVehicle(), HumanCommandVehicle::GetTransport(), HumanCommandVehicle::JumpOutVehicle(), ActionData::m_Player, GetOutTransportActionData::m_WasJumpingOutAnim и ProcessGetOutTransportActionData().