If you still want a window to pop up with default text you would use this:
DelayCommand(2.5, PopUpDeathGUIPanel(oPlayer,FALSE, TRUE, 66487));
You could also use the pop up with your own text. Something like so:
DelayCommand(2.5, PopUpDeathGUIPanel(oPlayer,FALSE, TRUE, 0,
"You're dead sucka!"));
(Also note with the function "PopUpDeathGUIPanel", if it is a single player module you won't see the wait button. Only quit game or load game)
And then of course you could get rid of the pop up window all together and just let the player hit the escape key by getting rid of the line or I recommend just commenting it out:
//DelayCommand(2.5, PopUpDeathGUIPanel(oPlayer,FALSE, TRUE, 66487));
Hope it helps clear things up.
Modifié par GhostOfGod, 23 février 2012 - 08:59 .