Talk:Casting Spells From An Activator
Thankyou for fixing it. I am still working out how to use a wiki. Now i know I can type here. ;)
Improvements
So from the example to stop the spell from hitting the player, I am guessing it would be fairly easy to add an extra piece of code to force the weapon to only attack enemys.
I have seen a mod somewhere which changes the detect life effect to show a different color based on the enemys intent towards killing you. I guess that means theres a command which would allow you to make it only hit npcs or creatures that are activly trying to get you.
If you made these changes than it would not matter if the spell does not force combat because the enemy is already in combat with you. You could even change the name of the spell to reflect the fact that it only harms those that would harm you.
I am still learning the scripting language and don't know how to do it yet, but if I figure it out i'll update the tutorial.
I love oblivion!