The DMFI tool has UI buttons for changing any character, Companion or NPC’s alignment, during the game. I would like a script to do this outside of their UI. Thanks in advance for anyone that may have such a script, please post it here.
See AdjustAlignment() for sample script and detailed discussion.
Thanks, I have that one. It has to be used on the npc’s scripting, and what I want is to be able to cast it like a spell to change it in the game/ mod (I couldn’t convert it to be able to do that). Almost all the characters I use have immunity to mind affecting spells (I hate those!), so I can’t use charm or dominate spells, and I can’t modify those to bypass that immunity.
It sounds like you are talking more about factions and who’s an enemy of whom. That’s not controlled by alignment in NWN. Maybe SetIsTemporaryFriend etc ?
NWN2; and alignment or faction change to the point of opposition, yes.