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