Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
//::///////////////////////////////////////////////
//:: Witchwork: Trigger Message (Tears Wall)
//:: WW_Msg_TearsWall.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
A template script. Create a copy where
sString = a custom message that will be sent
from the server to any player entering the
trigger or area.
*/
//:://////////////////////////////////////////////
//:: Created By: Rob Bartel
//:: Created On: September 11, 2002
//:://////////////////////////////////////////////
void main()
{
object oEnterer = GetEnteringObject();
string sPlayerID = GetPCPlayerName(oEnterer) + GetName(oEnterer);
int bSeenOnce = GetLocalInt(OBJECT_SELF, sPlayerID+"SeenOnce");
string sString = "You have climbed down some rubble, it will be easy to climb back up to the roof and crawl through the hole if you wanted to leave again";
if (GetIsPC(oEnterer) == TRUE &&
bSeenOnce == FALSE)
{
//Play GUI sound
AssignCommand(oEnterer, PlaySound("gui_spell_mem"));
//Have the Player whisper the message to themselves.
AssignCommand(oEnterer, SpeakString(sString, TALKVOLUME_WHISPER));
//Flag the player as having seen the message.
SetLocalInt(OBJECT_SELF, sPlayerID+"SeenOnce", TRUE);
}
}