Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
19
_module/nss/qst_c_1_1.nss
Normal file
19
_module/nss/qst_c_1_1.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
int iQuest;
|
||||
string sQuestTargetMob;
|
||||
object oTarget;
|
||||
|
||||
iQuest = GetLocalInt(GetPCSpeaker(),"QuestType");
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
sQuestTargetMob = GetLocalString(GetPCSpeaker(),"QuestTargetMob");
|
||||
oTarget = GetObjectByTag(sQuestTargetMob);
|
||||
if (!GetIsObjectValid(oTarget) && iQuest == 1 && GetLocalString(GetPCSpeaker(),"QuestGiver") == GetTag(OBJECT_SELF))
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
||||
|
Reference in New Issue
Block a user