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,30 @@
#include "sql_db_partywide"
int StartingConditional()
{
object oPC;
string sTarget;
int iResult;
int iQuest;
int iOverall;
string sQuestTargetMob;
object oTarget;
oPC = GetPCSpeaker();
sTarget = GetLocalString(oPC,"QuestTargetNPC");
iQuest = GetLocalInt(oPC,"QuestType");
iOverall = SQLocalsUUID_GetInt(oPC,"OnOverallQuest");
iResult = FALSE;
if (iQuest == 1 && sTarget == GetTag(OBJECT_SELF) && iOverall == 0)
{
sQuestTargetMob = GetLocalString(GetPCSpeaker(),"QuestTargetMob");
oTarget = GetObjectByTag(sQuestTargetMob);
if (!GetIsObjectValid(oTarget))
iResult = TRUE;
}
return iResult;
}