Files
HeroesStone_PRC8/_module/nss/js_util_ondeath.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

13 lines
435 B
Plaintext

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));
}