void main() { object oPlayer = GetLastPlayerDied(); if (!GetIsObjectValid(oPlayer)) return; SetLocalInt(oPlayer, "BLEED_STATUS", 0); AssignCommand(oPlayer, ClearAllActions()); string msg = "If you choose to respawn, you will reappear at the modules's " + "starting location and lose one level (to a minimum of 1st level)."; DelayCommand(2.5, PopUpDeathGUIPanel(oPlayer, TRUE, TRUE, 0, msg)); }