Any one figured this one out for V2.0?
I am going nuts here trying to get this worked out.
One would think this would work easy. Granted with issues but the entity's appearing and disappearing.
;Artificial Intelligence Script
;Header
desc = Umans load and unload any entity withinrange (excludes player and explodables they dont repawn)
;Triggers
:state=0,plrdistwithin=600,activated=1:state=1,spawnon
:state=1,plrdistfurther=800:destroy
;:state=1:state=2,setalphafade=0,setframe=0
;:state=2:incframe=0,incalphafade=100
;:state=2:state=3
;:state=3,plrdistfurther=800:destroy
;:state=3,plrdistfurther=800:settarget=crate,destroy
;:state=2,frameatend=0:state=3
;:state=3,alphafadeequal=100,plrdistfurther=800:settarget=crate,destroy
;End of Script
I tried adding 341 no blob shadow
;Artificial Intelligence Script
;Header
desc = Umans load and unload any entity withinrange (excludes player and explodables they dont repawn)
;Triggers
:state=0:hideshadow=1,setalphafade=100,state=2
:state=2,plrdistwithin=400,activated=1:state=5,spawnon
:state=5,runfpidefault=1,plrdistfurther=600:settarget,destroy
;:state=0:state=1,setalphafade=0,animate=1
;;;;;;:state=1,alphafadeequal=0:incalphafade=100
;:state=1,alphafadeequal=100:hideshadow=1,state=2
;:state=2,plrdistwithin=600,activated=1:state=3,spawnon
;:state=3:hideshadow=1,state=4,runfpidefault=1,setalphafade=0,setframe=0
;:state=4:incframe=0,incalphafade=100
;:state=4,frameatend=0:state=5
;:state=5,alphafadeequal=100,plrdistfurther=800:settarget,destroy
;End of Script
I tried to use 341 no blob shadow to hide the entity's at distance as that is what I was after in the first place.
;Artificial Intelligence Script
;Header
desc = Umans load and unload any entity withinrange (excludes player and explodables they dont repawn)
;Triggers
:state=0:hideshadow=1,setalphafade=100,state=2
:state=2,plrdistwithin=400,activated=1:state=5,spawnon
:state=5,runfpidefault=1,plrdistfurther=600:settarget,destroy
:state=0:state=1,setalphafade=0,animate=1
;;;;;;:state=1,alphafadeequal=0:incalphafade=100
:state=1,alphafadeequal=100:hideshadow=1,state=2
;:state=2,plrdistwithin=600,activated=1:state=3,spawnon
;:state=3:hideshadow=1,state=4,runfpidefault=1,setalphafade=0,setframe=0
:state=4:incframe=0,incalphafade=100
:state=4,frameatend=0:state=5
:state=5,alphafadeequal=100,plrdistfurther=800:settarget,destroy
;End of Script
I am wondering if the activateifused has changed from 117 to 120 but then I have no clue.