19 lines
515 B
Plaintext
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));
|
|
}
|
|
|