View Single Post
Old 03-10-2002, 09:42 PM   #6
Amergin
Zhentarim Guard
 

Join Date: May 28, 2001
Location: memphis,tn
Posts: 375
1. azred was close, but "enraged" isn't a state in state.ids and "berserk" wouldn't call it. the state berserk is actually the out of control kind like that cursed sword, minsc's ability, and the panic result.

this is what you want:

IF
See(NearestEnemyOf(Myself))
Global("Enraged","LOCALS",0)
HaveSpell(Myself,BERSERKER_RAGE)
THEN
RESPONSE #100
SetGlobal("Enraged","LOCALS",1)
SetGlobalTimer("Crazy","LOCALS",60)
SpellNoDec(Myself,BERSERKER_RAGE)
AttackReevaluate(NearestEnemyOf(Myself),30)
END

IF
GlobalTimerExpired("Crazy","LOCALS")
Global("Enraged","LOCALS",1)
THEN
RESPONSE #100
SetGlobal("Enraged","LOCALS",0)
END

Not sure if the duration of enrage is 60 or not. just change the timer to whatever it is. you may want to tack on an extra 30 seconds to account for the post-rage fatigue that wastes an attempt to berserk during.

2. are you using the "cast spell as mage/cleric" header? should be able to put the SPWIXXX in the resource key and have it work. has for me.

3. if you're serious about modding, scrap creature creator and get familiar with Near Infinity. it sounds like you copied an already existing CRE and had some things that the prog can't get to. NI is far more detailed in what you can edit and isn't tough at all. you may have set his alignment to neutral instead of his Enemy/Ally tag.
__________________
blessed are the cheesemakers
Amergin is offline   Reply With Quote