Posted: 18th Aug 2012 18:30
First of thanks for the answer and the effort....
I can't find in the main script plrhealth only this text
[/code]desc = Random Melee Attack
;Triggers
;WALKING WAYPOINTS
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
;DETECT PLAYER
:state=0,plrdistwithin=300,plrcanbeseen:waypointstop,state=9,rotatetoplr,setframe=96,sound=audiobank\zombie_apocalypse\zombie1intro.wav
:state=0,shotdamage=1:waypointstop,state=9,rotatetoplr,setframe=96
;INTRO ANIMATION
:state=9:waypointstop,incframe=96
:state=9,frameatend=96:state=5
;CHOOSE MELEE ATTACK
:state=5,random=2:plrfreeze=0,state=21
;(USED TO DIRECT ZOMBIE TO SINGLE BITE ATTACK, NOT USED):state=5,random=2:state=6
:state=5,random=2:plrfreeze=0,state=22
;SLASH ATTACK
:state=21,plrdistfurther=40:sound=audiobank\zombie_apocalypse\zombie1moan.wav,state=1
:state=21:state=1
:state=1,plrdistfurther=40:waypointstop,rotatetoplr,movefore=2,animate=92
:state=1,plrdistwithin=40:waypointstop,rotatetoplr,setframe=93,state=7
:state=7,framebeyond=93 50,plrdistwithin=60:plraddhealth=-20,state=8
:state=7:incframe=93,rotatetoplr
:state=7,frameatend=93:state=5
:state=8:incframe=93
:state=8,frameatend=93:state=5
;BITE ATTACK (NOT USED, DECIDED TRIPLE BITE ATTACK WAS SUFFICIENT)
:state=6,plrdistfurther=35:waypointstop,rotatetoplr,movefore=2,animate=92
:state=6,plrdistwithin=35:plrfreeze=1,waypointstop,rotatetoplr,setframe=94,state=2
:state=2,framebeyond=94 55,plrdistwithin=60:plraddhealth=-10,plrfreeze=0,state=3
:state=2:incframe=94,plrfreeze=1,rotatetoplr
:state=2,frameatend=94:state=5
:state=3:incframe=94
:state=3,frameatend=94:state=5
;TRIPLE BITE
:state=22,plrdistfurther=40:sound=audiobank\zombie_apocalypse\zombie1moan.wav,state=16
:state=22:state=16
:state=16,plrdistfurther=40:waypointstop,rotatetoplr,movefore=2,animate=92
:state=16,plrdistwithin=40:plrfreeze=1,waypointstop,rotatetoplr,setframe=95,state=12,sound=audiobank\zombie_apocalypse\zombie1growl.wav
:state=12,framewithin=95 7:movefore=2
:state=12,framebeyond=95 44,plrdistwithin=60:plraddhealth=-10,plrfreeze=1,state=13
:state=12,plrdistwithin=40:incframe=95,plrfreeze=1,rotatetoplr
:state=12,plrdistfurther=40:plrfreeze=0,rotatetoplr,state=5
:state=12,frameatend=95:state=5
:state=13,framebeyond=95 66,plrdistwithin=60:plraddhealth=-10,plrfreeze=1,state=14
:state=13,plrdistwithin=40:incframe=95,plrfreeze=1,rotatetoplr
:state=13,plrdistfurther=40:plrfreeze=0,rotatetoplr,state=5
:state=13,frameatend=95:state=5
:state=14,framebeyond=95 90,plrdistwithin=60:plraddhealth=-10,plrfreeze=0,state=15
:state=14,plrdistwithin=40:incframe=95,plrfreeze=1,rotatetoplr
:state=14,plrdistfurther=40:plrfreeze=0,rotatetoplr,state=5
:state=14,frameatend=95:state=5
:state=15:plrfreeze=0,incframe=95
:state=15,frameatend=95:state=5
[code]
Any ideas?