428 {
430 {
433
435 if (player)
436 {
437 player.SimulateDeath(true);
439 }
440
441 MissionGameplay missionGP = MissionGameplay.Cast(
GetGame().GetMission());
442 missionGP.DestroyAllMenus();
443 missionGP.SetPlayerRespawning(true);
444 missionGP.Continue();
445
447 }
448 else
449 {
451 }
452 }
proto native void RestartMission()
override ScriptCallQueue GetCallQueue(int call_category)
proto native void RespawnPlayer()
MenuDefaultCharacterData GetMenuDefaultCharacterData(bool fill_data=true)
proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()