Hey guys,
i try to implement a specific item. It should have a onUse Effect, so as soon as a player right clicks it, all factions (except monster) are friendly or neutral towards him. I wan´t a blood elf to use this item, so this player (and only this player) has the ability to use the merchants in stormwind. I don´t want those guys to be friendly to everyone, only the players who uses this item.
My first plan was, to create a new faction, which would be neutral to everyone. Then, if this item is getting used, the player would join this faction. But as far as i see, there is no function in the player.ccp which allows to change faction.
Afterwards i had the idea to increase reputation. That worked, my blood elf could walk right into SW and everone was green. But the problem is, i can not interact with merchants or anybody. I only can rightclick to attack. So, this is also not the solution is was hoping to find.
Has anybody an idea, how i could implement this concept?
Greetings
Jarkiro