Hi, I'm trying to create some custom spell effects, and I am running into serious roadblocks.
What I am trying to do is create a script that reduces the player's health and fatigue to 1 when a certain spell has been cast by the user. This way, I can make really powerful spells, but with a repercussion effect for doing so.
Does anybody know how to do something like this?
Thanks in advance.
Scripting Spell effects
Hi, lol I'm having scripting issues myself so not sure how much help I can be, but it seems to me if the PC is casting the spell, you'd have to write a running script for the PC, which would be along the lines of
if ( PC casts spellname ) ==0
return
endif
if ( PC casts spellname ) ==1
SetStatX->1
SetStatZ->1
endif
I'm sure that's not formatted right and I KNOW it's got the wrong wording, but logically it's a valid argument, and if you can set it up with commands the game recognizes, it should work. Good luck!
if ( PC casts spellname ) ==0
return
endif
if ( PC casts spellname ) ==1
SetStatX->1
SetStatZ->1
endif
I'm sure that's not formatted right and I KNOW it's got the wrong wording, but logically it's a valid argument, and if you can set it up with commands the game recognizes, it should work. Good luck!
- Daedra Prince
- Journeyman

- Posts: 348
- Joined: Tue Aug 21, 2007 5:29 am
- ES Games: I, III, IV
- Platform: PC, PS3
- Location: Everywhere.


