15 lines
526 B
Plaintext
15 lines
526 B
Plaintext
#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;
|
|
}
|