Код
;Artificial Intelligence Script
;Header
desc = Medic
;Triggers
:state=0:state=1
:state=1:rotatetoplr
:state=1,plrdistfurther=200:state=5
:state=1,plrhealthless=60:state=2,rotatetoplr,sound=audiobank\medic\plrhealthless.wav
:state=2:rotatetoplr,runfore=10,animate=5,followplr
:state=2,plrdistwithin=60:state=3
:state=3:rotatetoplr,timerstart,state=4
:state=4,plrdistfurther=95:rotatetoplr,state=2
:state=4:rotatetoplr
:state=4,plrhealthgreater=99:state=0,sound=audiobank\medic\plr100hp.wav
:state=4,timergreater=2000:plraddhealth=10,sound=audiobank\items\healthup.wav,state=3
:state=5:rotatetoplr,runfore=10,animate=5,followplr
:state=5,plrdistwithin=120:state=0
;End of Script