Initial Commit
Initial Commit
This commit is contained in:
12
_module/nss/quest_lostnpc.nss
Normal file
12
_module/nss/quest_lostnpc.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
if (GetLocalInt(OBJECT_SELF, "LostQuest") == TRUE && GetPCSpeaker() == GetLocalObject(OBJECT_SELF, "oPC"))
|
||||
{
|
||||
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