Scripted abilities

Post » Mon Feb 14, 2011 9:58 am

Can a scripted ability effectively add a script to an NPC or the player? What I mean is, do OnHit, OnMagicEffectHit, OnDeath, and other similar block types function when placed in an ability instead of directly on an actor, allowing scripts to be added to actors without using OBSE functions? I know in KOTN theres an enchanted item which makes animals not attack you, but I'm pretty sure thats just an OnEquip/OnUnequip thing to add and remove the creature faction.
User avatar
R.I.P
 
Posts: 3370
Joined: Sat Dec 01, 2007 8:11 pm

Post » Mon Feb 14, 2011 9:15 am

Can a scripted ability effectively add a script to an NPC or the player? What I mean is, do OnHit, OnMagicEffectHit, OnDeath, and other similar block types function when placed in an ability instead of directly on an actor, allowing scripts to be added to actors without using OBSE functions? I know in KOTN theres an enchanted item which makes animals not attack you, but I'm pretty sure thats just an OnEquip/OnUnequip thing to add and remove the creature faction.

I think so... I'm not sure though.
User avatar
Dustin Brown
 
Posts: 3307
Joined: Sun Sep 30, 2007 6:55 am


Return to IV - Oblivion