LoT_PRC8/_module/nss/pgs_set_ally.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

26 lines
804 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: pgs_set_ally
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Send a faction request to the leader of the
selected guild. If accepted, guilds will
become allies.
*/
//:://////////////////////////////////////////////
//:: Created By: Samius Maximius
//:: Created On:
//:://////////////////////////////////////////////
#include "inc_gsystem"
void main()
{
object oPlayer = GetPCSpeaker();
int iGuild = GetLocalInt (oPlayer, "Temp_Guild_List_Number");
//--------------------------------------------
//Update guild faction towards one another.
//--------------------------------------------
SetGuildFactionToAlly (oPlayer, GetPlayerObjectGuildLeader (iGuild));
}