Hey, folks. I'm new here, and I'm looking for help with scripting. I'm also new to scripting, although I do have a foundational understanding of how scripts work.
What I'm looking is an example of script that does something similar to this list:
-Differentiates between player and followers
-Causes NPCs to favor attacking the player
-Applies a spell on attack against player
-Script ends
After the script ends, the NPCs will be free to deal with followers normally, but should still be able to apply the same spell as was used against the player.
Any help is appreciated, and thanks.