Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

26
_module/nss/cv_rest.nss Normal file
View File

@@ -0,0 +1,26 @@
//::///////////////////////////////////////////////
//:: cv_rest
//:: cv_rest.nss
//:: Copyright (c) 2003 Darren Summerwind.
//:://////////////////////////////////////////////
/*
Conversation Rest Script
*/
//:://////////////////////////////////////////////
//:: Created By: Darren Summerwind
//:: Created On: 28/9/03
//:://////////////////////////////////////////////
void main()
{
// Get Last Speaker
object oPC = GetPCSpeaker();
// Set "PlayerWantsToRest" to TRUE
SetLocalInt(oPC, "PlayerWantsToRest", TRUE);
// Clear all actions
AssignCommand(oPC, ClearAllActions(TRUE));
// Assign Rest
AssignCommand(oPC, ActionRest());
ExecuteScript("_onplayer_rest",oPC);
// Set "PlayerWantsToRest" to FALSE
DelayCommand(2.0, SetLocalInt(oPC, "PlayerWantsToRest", FALSE));
}