Initial Commit
Initial Commit
This commit is contained in:
15
_module/nss/quest_cliagain.nss
Normal file
15
_module/nss/quest_cliagain.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user