desc = Swordattack
;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,plydistfurther=400:animate=1
:state=0,plrdistwithin=400,plrcanbeseen:waypointstop,state=9,rotatetoplr,setframe=3
:state=0:state=9
;DETECT DAMAGE
:shotdamage=1:waypointstop,state=9,rotatetoplr,setframe=3
;INTRO ANIMATION
:state=9:waypointstop,incframe=10
:state=9,frameatend=10:animate=10,state=1
thanks man, for your help
[url="http://raptr.com/k2indahouse?src=em_forum"]
[/url]