Initial commit
Initial commit. Updated release archive.
This commit is contained in:
30
_module/nss/qst_cq_done_1.nss
Normal file
30
_module/nss/qst_cq_done_1.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "en5_misc"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
int iQuestType;
|
||||
int iIndex;
|
||||
string sTag;
|
||||
string sWP;
|
||||
object oWP;
|
||||
object oMob;
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
iQuestType = GetLocalInt(GetPCSpeaker(),"QuestType");
|
||||
|
||||
//SendMessageToPC(GetFirstPC(),"QuestType=" + IntToString(iQuestType));
|
||||
if (iQuestType == 1 || iQuestType == 6)
|
||||
{
|
||||
iResult = TRUE;
|
||||
sTag = GetLocalString(GetPCSpeaker(),"QuestMob");
|
||||
//SendMessageToPC(GetFirstPC(),"QuestMob=" + sTag);
|
||||
oMob = GetObjectByTag(sTag);
|
||||
|
||||
if (GetIsObjectValid(oMob))
|
||||
iResult = FALSE;
|
||||
}
|
||||
|
||||
return iResult;
|
||||
}
|
||||
Reference in New Issue
Block a user