16 lines
530 B
Plaintext
16 lines
530 B
Plaintext
#include "x4_inc_functions"
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
string sDB = CharacterDB(oPC);
|
|
string sName = GetCampaignString(sDB, "QUEST_CLI_NAME");
|
|
string sLastName = GetCampaignString(sDB, "QUEST_CLI_LASTNAME");
|
|
object oNPC = GetFirstObjectInArea();
|
|
while (GetIsObjectValid(oNPC))
|
|
{
|
|
if (GetLocalString(oNPC, "Name") == sName && GetLocalString(oNPC, "LastName") == sLastName) return TRUE;
|
|
oNPC = GetNextObjectInArea();
|
|
}
|
|
return FALSE;
|
|
}
|