Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

26 lines
838 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: pgs_con_tally
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Check if the faction between the player's
guild and the targeted guild are allies.
*/
//:://////////////////////////////////////////////
//:: Created By: Samius Maximus
//:: Created On:
//:://////////////////////////////////////////////
#include "inc_gsystem"
int StartingConditional()
{
object oPlayer = GetPCSpeaker();
//--------------------------------------------
//Check faction between guilds.
//--------------------------------------------
return !(GetFactionStatusBetweenGuilds (GetLocalInt (oPlayer,
"Player_Guild_Number"), GetLocalInt (GetLocalObject (oPlayer,
"Object_Target"), "Player_Guild_Number")) == 1);
}