Does Enchantment recognize Enchanted Object? If doesn't...ho

Post » Tue Jun 19, 2012 4:55 pm

Hi All,

I was wondering if there's any way to have an Enchantment to recognize the enchanted object in a script attached to its magic effect.

In theory, the enchantment is linked to the reference of the enchantment object, so it should recognize somehow it...but I am a bit doubtful about that...

Does anyone knows?

If it doesn't recognize...any suggestion on how force it to recognize it?

Thanks and Regards,
Jashkar
User avatar
mishionary
 
Posts: 3414
Joined: Tue Feb 20, 2007 6:19 am

Post » Tue Jun 19, 2012 12:54 pm

if the script is attached to the magic effect it would only recognize the magic effect
I don't think theres a way to directly get the objectref a magic effect is attached to

convoluted workaround: attach a script to the magic effect that uses http://www.creationkit.com/GetCasterActor_-_ActiveMagicEffect and http://www.creationkit.com/GetEquippedWeapon_-_Actor

this would unfortunately require you to hit something at least once with the weapon
User avatar
Sylvia Luciani
 
Posts: 3380
Joined: Sun Feb 11, 2007 2:31 am


Return to V - Skyrim