generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
18
_module/nss/reset_hwarsc2.nss
Normal file
18
_module/nss/reset_hwarsc2.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
////////////////////////////////////////
|
||||
// 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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user