Initial commit
Initial commit. Updated release archive.
This commit is contained in:
26
_module/nss/qst_quick_c.nss
Normal file
26
_module/nss/qst_quick_c.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
int iQuest;
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
iQuest = GetLocalInt(GetPCSpeaker(),"QuickQuest");
|
||||
|
||||
if (iQuest==1)
|
||||
{
|
||||
if (GetLocalInt(OBJECT_SELF,"QuestComplete") == 0 && GetLocalString(GetPCSpeaker(),"QuestGiver") == GetTag(OBJECT_SELF))
|
||||
iResult = TRUE;
|
||||
|
||||
//if (GetLocalInt(GetPCSpeaker(),"QuestType") == 4 && GetLocalString(GetPCSpeaker(),"QuestNPC") == GetTag(OBJECT_SELF))
|
||||
// iResult = TRUE;
|
||||
if (GetLocalString(GetPCSpeaker(),"QuestNPC") == GetTag(OBJECT_SELF))
|
||||
iResult = TRUE;
|
||||
|
||||
//if (GetLocalInt(GetPCSpeaker(),"QuestType") == 4 && GetLocalString(GetPCSpeaker(),"QuestNPC") != GetTag(OBJECT_SELF))
|
||||
if (GetLocalString(GetPCSpeaker(),"QuestNPC") != "" && GetLocalString(GetPCSpeaker(),"QuestNPC") != GetTag(OBJECT_SELF))
|
||||
iResult = FALSE;
|
||||
}
|
||||
return iResult;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user