Mavkiel Posted February 11, 2009 Share Posted February 11, 2009 Hey all I am having an odd issue, I am summoning a creature I created a reference for.. its persistent. I kill it and everything works fine.. However when I try and summon it again nothing happens. ScriptName zzInsane float fTimer short insane short First float wTimer Begin ScriptEffectStart Dispel zzArmorAddict set First to 1 End Begin ScriptEffectUpdate if GetPCSleepHours > 0 && First == 1 ;Idea being this triggers only once set First to 0 set insane to insane + 1 zzInsaneSubjectREF.MoveTo Player endif if fTimer <= GameDaysPassed && GetPCSleepHours > 0 && First == 0 set insane to insane + 1 zzInsaneSubjectREF.MoveTo Player set fTimer to GetRandomPercent * 18/99 + GameDaysPassed endif if wTimer <= GameDaysPassed set insane to insane + 1 zzInsaneSubjectREF.MoveTo Player set wTimer to GetRandomPercent * 18/99 + GameDaysPassed endif elseif zzInsaneSubjectREF.GetDead ==1 zzInsaneSubjectREF.ResurrectActor 1 ; Resurrects the specified reference zzInsaneSubjectREF.Disable ; Disables the specified reference CorpseRef.Enable ; Enables other creature CorpseRef.MoveTo zzInsaneSubjectRef ; Moves the other creature to the specified reference's location endif End Begin ScriptEffectFinish if fTimer CastImmediateOnSelf zzArmorAddict endif End Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.