I keep getting a runtime error!!! HELP!
"runtime Error 7006 - Object number illegal at line 12519"
Where did it go wrong? This is the script I used:
(desc = DarkAI Melee Follow and Attack for the Mobzombies by Omegamer
;Triggers
:state=0:setaiactive=1,alwaysactive=1
:always:aisettarget,aisetspeed=350
:nearactivatable=0:settarget,activatetarget=2
:state=0,aitargetdistwithin=1000:state=1
:state=1,aitargetdistfurther=70:airotatetotarget,aimovetotarget,animate=93
:state=1,aitargetdistfurther=1000:animate=1,state=0
:state=1,aitargetdistwithin=70,rateoffire:airotatetotarget,setframe=98,state=2
:state=2,framebeyond=98 60,aitargetdistwithin=70:aisetmeleedamage=10,aiusemelee=1,sound=audiobank\misc\melee.wav,state=3
:state=2:incframe=98,airotatetotarget
:state=2,frameatend=98:state=1
:state=3:incframe=98
:state=3,frameatend=98:state=1)
*without the brackets of course*