Voila, je faisun new script (strafe+shoot) avec une partie ´search´ comme le script cerebros´ (mais C T de la daube celui la)...
Hors donc le pb : le perso ne réagit qu´à l´option ´noise´ ou visuelle...Voici le script (A mettre en main, et pas de script d´attack a ajouter) :
;- =\\\Scripted By Merranvo/Noldor/BULLSHOCK
:state=0:waypointstart,setframe=19
:state=0,plrwithin,plrdistfurther=601:state=0
:state=0,plrwithin,plrdistwithin=600:state=20
:state=1,plrcanbeseen:movefore=10,animate=3,state=
20
:state=1,shotdamage=1:movefore=10,animate=3,state=
20
;- =>>>WAYPOINTS<<<=-
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
;/ //PLR FOUND\\\
:state=20,losetarget=100:state=50
:state=20:rotatetoplr
:state=20,plrcanbeseen:settarget
:state=20,ifweapon=1,plrdistfurther=100:movetotarg
et=1,animate=5
:state=20,plrdistwithin=101:rotatetoplr
:state=20,ifweapon=1,plrdistwithin=400,plrcanbesee
n=46,rateoffire:animate=1,rotatetoplr,freeze,usewe
apon,rundecal=6
:state=20,ifweapon=0:animate=1,freeze,state=30,set
frame=6
:state=20,plrdistwithin=200,random=20:state=50
:state=20,plrdistwithin=50:state=100
:state=30:incframe=6
:state=30,frameatend=6:state=20,choosestrafe=10,re
loadweapon,sound=audiobank\guns\reload.wav
;/ //Look For Plr\\\
:state=40,plrcannotbeseen,random=3:timerstart
:state=40,plrcannotbeseen,random=3,timergreater=30
:rotateheadrandom=66
:state=40,plrcannotbeseen,random=3,timergreater=40
:pivotrandom=63,movefore=10,animate=2
:state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=80:rotatetoplr
:state=40:state=20
:state=50,random=1:state=60,setframe=4
:state=50:state=70,setframe=3
:state=60:incframe=4,strafe=90,rotatetoplr
:state=60,frameatend=4:state=0,animate=1
:state=70:incframe=3,strafe=-90,rotatetoplr
:state=70,frameatend=3:state=0,animate=1
:state=100:state=110,setframe=5
:state=110:incframe=5,strafe=180,rotatetoplr
:state=110,frameatend=5:state=0,animate=1
;E nd of Script
Alors amis scripteurs amateurs/confirmé...Aidez moi à voir ce qui merde, pour que tout le monde en profite.
Note ce script fonctionne très bien (attaque), juste le pb de ´search´.
Cyber