Hello, I´m working on Tranquillien HCRP project and we want make third faction.This faction will be syndicates.This faction occur when player complete quest on it.I have this script:
if(GetQuestStatus(2) == QUEST_STATUS_COMPLETE){
SetFFAPvP(true);
setFaction(87);}
else
setFaction(getFactionForRace(getRace()));
But it just set Faction, but the player is behaving as old faction - if was alliance then he can group with alliance, can´t attack them and other...Somebody said that it is hardcoded in DBC and we can´t change faction. Is it ?
Then I have another idea how to do it , because when we are dueling, we can attack friendly people and if we are in arena we can attack players with same faction.
Can somebody help me with editing this code to work fully or make new code which will work, thanks I´m starting at c++ then I can´t code it better...
I have here repo with it:
http://github.com/Darkhunter/Tranquillien-HCRP-Project
then u can edit it online, it will be better