Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
void main()
{
int iNPCHelpers;
int iIndex;
int iFlag;
string sNPC;
string sNPCTag;
object oNPC;
location lLoc;
iNPCHelpers = GetLocalInt(GetModule(),"QuestNPCHelpers");
iIndex = 0;
iFlag = 0;
while (iIndex < iNPCHelpers)
{
iIndex++;
sNPC = "QuestNPCHelper" + IntToString(iIndex);
sNPCTag = GetLocalString(GetModule(),sNPC);
if (!GetIsObjectValid(GetObjectByTag(sNPCTag)))
{
lLoc = GetLocation(GetObjectByTag("POST_" + sNPCTag));
oNPC = CreateObject(OBJECT_TYPE_CREATURE,sNPCTag,lLoc);
SendMessageToPC(GetPCSpeaker(),GetName(oNPC) + " has been restored.");
}
}
}