Issue : Spell only works once?

Post » Sat May 18, 2013 5:56 am

I have a Spell in my mod :

Effect Archetype : Script

Casting Type : Fire and Forget

Delivery : Self

Magic Skill : Alteration

Skill Level : 0

Assoc Item : None

Resist Value : None

Perk to Apply : None

T. Duration : 0

T. Weight : 0

T. Curve : 0

Base Cost : 0

Skill Usage : 0

Flags : None Set

Papyrus Script :

Event OnEffectStart(Actor Target, Actor Caster)

Debug.Notification("Start Projecting...")

(ZCDMAPQuest01 as ZCDMAPQuest01Script01).StartProjection = 1

EndEvent

This spell works 100% perfectly, except for one issue : once it has been cast, it can NEVER be cast again in that Save Game, even if it is removed and readded. I'm not sure why, it's definitely the Spell that isn't working, since even the Debug.Notification fails to show.

The spell itself is set up as a Spell, Fire and Forget, Self, Either Hand, Disallo Absorb, Ignore REsistance, No Duration, No Magnitude, No Area (I've tried changing all of thse to '1' just in case, but still no luck).

I've had Spells set up exactly like this before, without any issue; and the effects work perfectly the first time, which makes it seem strange that it would not work after that...

I've tried-- New Game, New Save, Removed Script and Re-added.

Has anyone any idea?

User avatar
Jessica Nash
 
Posts: 3424
Joined: Tue Dec 19, 2006 10:18 pm

Post » Fri May 17, 2013 8:47 pm

Check your quest setting. Run Once? Repeatable stages?

User avatar
Lily
 
Posts: 3357
Joined: Mon Aug 28, 2006 10:32 am

Post » Fri May 17, 2013 9:02 pm

All of that is fine -- I thought it was that at first, and went through it; the final issue I came to via debugs was that "Event OnEffectStart" is just not firing when the spell is cast for some reason... :/

User avatar
vanuza
 
Posts: 3522
Joined: Fri Sep 22, 2006 11:14 pm

Post » Fri May 17, 2013 10:39 pm

Try to add a onUpdate event and fire some notifications. It seems like a permanent effect. Check the Spell parameters.

User avatar
Elina
 
Posts: 3411
Joined: Wed Jun 21, 2006 10:09 pm

Post » Fri May 17, 2013 8:00 pm

Thanks for the suggestion :)

I've resolved the issue now :D Something was causing the PC to stop registering ALL spell effects, but it was only noticeable on the one since I was mod-testing :D

User avatar
Juanita Hernandez
 
Posts: 3269
Joined: Sat Jan 06, 2007 10:36 am


Return to V - Skyrim