AOC_PRC8/_module/nss/reset_hwarsc2.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

19 lines
515 B
Plaintext

////////////////////////////////////////
// Reset Player Score //
////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
object oMod = GetModule();
SetLocalInt(oMod, "scre2_state", 1);
SetLocalInt (oMod,"heav_score", 0);
SetLocalInt (oMod,"hell_score", 0);
SetLocalInt(oMod, "heav_loss", 0);
SetLocalInt(oMod, "hell_loss", 0);
PlaySound("gui_select");
PlaySound("sce_positive");
DelayCommand(1.0, FloatingTextStringOnCreature("** Holy War Score Reset **", oPC));
}