Initial Commit
Initial Commit
This commit is contained in:
14
_module/nss/quest_lostnpckid.nss
Normal file
14
_module/nss/quest_lostnpckid.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "x4_inc_functions"
|
||||
int StartingConditional()
|
||||
{
|
||||
string sDB = CharacterDB(GetPCSpeaker());
|
||||
if (GetLocalInt(OBJECT_SELF, "LostQuest") == TRUE && GetPCSpeaker() == GetLocalObject(OBJECT_SELF, "oPC") && GetCampaignInt(sDB, "QUEST_COMPLICATION") == 1)
|
||||
{
|
||||
string sName = GetLocalString(OBJECT_SELF, "sName");
|
||||
string sLastName = GetLocalString(OBJECT_SELF, "sLastName");
|
||||
SetCustomToken(11001, sName);
|
||||
SetCustomToken(11002, sLastName);
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user