Voila, c'est le 'darkai' de la maj 8, mais j'y ai ajouté le 'module' recherche...
Evidemment si vous voulez tester : Conservez l'original !
(Script a mettre en principal MAIN)
;Artificial Intelegence Script
;Header
desc = Strafe While Shooting (PSEUDO DARKAI PLACEHOLDER - TO BE REPLACED WITH DARKAI)
;Triggers
:state=0:waypointstart,setframe=19
:state=0,plrwithin,plrdistfurther=601:state=0
:state=0,plrwithin,plrdistwithin=600:state=20
:state=1,plrcanbeseen:state=50
;-=>>>WAYPOINTS<<<=-
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
;///PLR FOUND\\\
:state=20,plrcanbeseen:state=50
:state=20,plrcannotbeseen:state=40
;///Look For Plr\\\
:state=40,plrcannotbeseen,random=3:timerstart
:state=40,plrcannotbeseen,random=3,timergreater=30
:rotateheadrandom=50
:state=40,plrcannotbeseen,random=3,timergreater=40
:pivotrandom=55,movefore=10,animate=2
:state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=60:rotatetoplr
:state=40:state=20
:state=50,ifweapon=0:state=58,setframe=6
:plrcanbeseen:settarget,rotatetotarget,rotatetoplr
,resethead
:plrdistwithin=200:rotatetoplr,resethead
:state=50,random=20:state=59
:state=50,shotdamage=1:rotatetoplr,state=57
:state=50,noiseheard=5:settarget,rotatetotarget,ro
tatetoplr,state=57
:state=50,ifweapon=1,plrcanbeseen:state=52
:state=51:incframe=3,strafe=-90,rotatetoplr
:state=51,ifweapon=1,plrcanbeseen:useweapon,rundec
al=6
:state=51,frameatend=3:state=50,animate=1
:state=55:useweapon,rundecal=6,state=50
:state=54:state=55
:state=53:state=54
:state=52:state=53
:state=56:incframe=4,strafe=90,rotatetoplr
:state=56,ifweapon=1,plrcanbeseen:useweapon,rundec
al=6
:state=56,frameatend=4:state=50,animate=1
:state=57,random=1:state=56,setframe=4
:state=57:state=51,setframe=3
:state=58:incframe=6
:state=58,frameatend=6:state=50,reloadweapon,sound
=audiobank\guns\reload.wav
:state=59,plrcannotbeseen:state=60
:state=59:state=50
:state=60,random=1:rotatetoplr,strafe=135
:state=60,random=1:rotatetoplr,strafe=-135
:state=60,random=1:rotatetoplr,strafe=-65
:state=60,random=1:rotatetoplr,strafe=65
:state=60:state=57
;End of Script
Cyb