Hi,
I'm coming back to scripting and man am I rusty. I wrote the following but it doesn't compile:
Scriptname aaWardBurstScript extends activemagiceffect {Gives ward the ability to reflect certain spells and unleash a staggering shockwave}Actor TargetBool ReadyToBurst Int ChanceEvent OnEffectStart(Actor akTarget, Actor akCaster) Target = akTargetEndEventEvent OnWardHit(ObjectReference akCaster, Spell akSpell, int aiStatus) if(aiStatus != 1 || akSpell.GetDeliveryType() != 2) return else if(akSpell.GetCastingType() == 2) ReadyToBurst == 1 elseif(akSpell.GetCastingType() == 1) akSpell.Cast(Target) endif endifEndEventEvent onEffectFinish(Actor akTarget, Actor akCaster) if (ReadyToBurst == 1) aaWardBurstSpell.Cast(Target) endifEndEventSpell Property aaWardBurstSpell Auto
The compiler states that the (SKSE) functions GetCastingType and GetDeliveryType don't exist.
1. I seem to remember that to make the CK recognize SKSE functions you had to launch the CK in a special way that involved going to Start > Execute and typing an address that made SKSE launch the CK. Is that true or am I just confused?
2. Am I using GetCastingType and GetDeliveryType incorrectly?
Any help appreciated.