Quote: "What's the point to this?"
I did not know, but it helps him so I not asked
@Siphon_Studios
You want to make a slender game, right?
This script is not what you need!! It destroy the enemy after 15 sec, like tzk said
I am not good at ai scripting, but maybe this helps you
;Artificial Intelligence Script
;Header
desc = Search for and attack plr (scary)
;Triggers
;//Start\\
:state=0:waypointstart,state=1
:state=1,plrdistwithin=500:music=audiobank\HorrorMusic\enemy_close.ogg,state=20
:state=1,plrcanbeseen:etimerstart,state=50
;///Found\\\
:state=20,plrcanbeseen:state=50
:state=20,plrcannotbeseen:state=40
;If plr is hide and the slender did not find him for 15 sec, the slender will follow the waypoints again
:state=20,plrcannotbeseen,etimergreater=15000:state=0
;///Search\\\
;:state=40,plrcannotbeseen,random=3:etimerstart
:state=40,plrcannotbeseen,random=3,etimergreater=400:rotateheadrandom=50
:state=40,plrcannotbeseen,random=3,etimergreater=500:pivotrandom=55,movefore=10,animate=2
:state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=60:rotatetoplr
:state=40:state=20
;//ATTACK\\
:state=50,plrcanbeseen,plrdistfurther=50:settarget,music=audiobank\HorrorMusic\enemy_att.ogg,loopsound=audiobank\HorrorMusic\enemy_seeu.ogg,state=51
:state=50,plrcannotbeseen:stopsound
:state=51,plrdistfurther=50:movetotarget=1,animate=5
:state=51,plrdistwithin=50:rotatetoplr,animate=6,plraddhealth=-10
:state=51,losetarget=100,plrdistfurther=100,plrcannotbeseen:stopsound,music=audiobank\HorrorMusic\enemy_search.ogg,state=20
;End of Script
The slender did not disappear with this script! He just follow again the waypoints
Hope this is what you need