Linky1 Posted April 21, 2012 Share Posted April 21, 2012 Hey all :) I'm currently making a blood magic mod, but I need to attach this script:Scriptname Example extends ActiveMagicEffect float property bloodcost = 60.0 auto Event OnEffectStart(Actor akTarget, Actor akCaster) akCaster.DamageAV("Health", bloodcost)EndEvent To a spell. How do I do this? Thanks in advance, linky1 :) Link to comment Share on other sites More sharing options...
Linky1 Posted April 22, 2012 Author Share Posted April 22, 2012 Please, anyone? Link to comment Share on other sites More sharing options...
Sparafucile Posted April 22, 2012 Share Posted April 22, 2012 You attach that script to a Magic Effect (MGEF), not a Spell/Ability (SPEL); a SPEL cannot have a script directly attached to it, only indirectly through its various Effects. Link to comment Share on other sites More sharing options...
Linky1 Posted April 23, 2012 Author Share Posted April 23, 2012 You attach that script to a Magic Effect (MGEF), not a Spell/Ability (SPEL); a SPEL cannot have a script directly attached to it, only indirectly through its various Effects. I think I understand, thank you. I am going to try it now, thanks again! Link to comment Share on other sites More sharing options...
Recommended Posts