zombie 47
You can't mix scripts that easily without problems. Also the "followplr" command is great, but come with flaws also.
Quote: "for example : in the zombie_apocalypse folder there a many attack you can use it for this script "
Yes, BUT, those scripts are custom only for those characters. They have their own custom animations.
If one doesn't have those characters or scripts no one can help.
Here is a simple "search for player & attack" that I use for stock characters. Only Stock characters!
The "hand slash" animation is actually the "grenade throw" animation, but looks the same.
Attach to something like Scifi character Aiko or Zombie (unarmed) Put up some walls & boxes
for cover. They will search for you, hand attack, if they lose you they will search till your found.
;Triggers
;-=>>>WAYPOINTS<<<=-
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:state=0,plrdistfurther=500:animate=1
:state=0,plrdistwithin=500:state=20
;///PLR FOUND\\\
:state=20,plrcanbeseen:state=50
:state=20,plrcannotbeseen:state=40
;///Look For Plr\\\
:state=40:raycast=20 100
:state=40:pivotrandom=15,rotateheadrandom=45,movefore=10,animate=2
;:state=40:pivotrandom=25,movefore=1,animate=2
:state=40,shotdamage=1:rotatetoplr,state=20
:state=40,noiseheard:rotatetoplr,state=20
:state=40,plrcanbeseen:state=50
;//ATTACK\\
:state=50:settarget,state=51
:state=50,losetarget=2000:state=20
:state=51:rotatetoplr,runfore=5,animate=5
:state=51,plrcannotbeseen:state=40
:state=51,losetarget=5000:state=20
:state=51,plrdistwithin=60:state=60
:state=60:setframe=8,state=61
:state=61,framebeyond=8 60,plrdistwithin=60:plraddhealth=-5,state=62
:state=61:incframe=8
:state=61,frameatend=8:state=50
:state=62:incframe=8
:state=62,frameatend=8:state=50
;End of Script
Adjust distance to meet your needs. Remember your zombies most likely wont
work with this. It's just a starting point
My games never have bugs. They just develop random features..
Lots and lots of random features...