okay I know I posted this some time ago but am trying this again since I cannot seem to find an issue for this and I am hoping you fine folk can help me with this '>
basically the issue is that the 2 factions are not counting down/up when one of the 2 factions is raised/lowered due to pc action. anyone know what I am doing wrong?
Basically I want the players to know how much they have increased but apparently that remains stuck at -1
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
object oFacMember = GetObjectByTag("SlayerFaction");
object oComm = GetObjectByTag("OrderOfArthem");
int PCCurrFac;
// Raise the faction of the PC to the Slayer Organization.
AdjustReputation(GetPCSpeaker(), OBJECT_SELF, 10);
// Tell the PC that his/her faction has been lowered.
SendMessageToPC(GetPCSpeaker(), "You have gained 5 points of faction with the guards.");
// Set the value of PCCurrFac to the PCs current faction with the above group.
PCCurrFac = GetFactionAverageReputation(oFacMember, oPC);
// Tell the PC his/her current faction with said group.
SendMessageToPC(GetPCSpeaker(), "Your current faction with the Slayers is " + IntToString(PCCurrFac) + ".");
// Lower the faction of the PC to OrderOfArthem.
AdjustReputation(GetPCSpeaker(), oComm, -10);
// Tell the PC that his/her faction has been lowered.
SendMessageToPC(GetPCSpeaker(), "You have lost 5 point of faction with the Order of Arthem.");
// Set the value of PCCurrFac to teh PCs current faction with the above group.
PCCurrFac = GetFactionAverageReputation(oComm, oPC);
// Tell the PC his/her faction with said group.
SendMessageToPC(GetPCSpeaker(), "Your current faction with the order of Arthem is " + IntToString(PCCurrFac) + ".");
}