I guess it's kinda like an ally script but not excactly one.
I was wondering if I could make it so that I have a partner that follows me throughout the level. What I mean is make it so he just follows me everywhere possible (I don't have complicated jumps or areas where you need to crouch just walking.)
Also an added bonus If there is another character that he shoots toward the enemies, not damaging them, but just so it seems like he knows how to use his weapon.
Every time I try to attempt any of this "following" stuff he stands there doing nothing, he has his idle animation going but he won't take a step.
And for the shooting, he won't take a step so I can't test that.
Here's the script that's supposed to make him follow you:
;Artificial Intelligence Script
;Header
desc = Hunt And Pace Waypoints
;Triggers
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:nearactivatable=0:settarget,activatetarget=2,animate=1,state=0
:state=0:state=1
:state=1,plrdistwithin=1000:rotatetoplr,followplr
:state=1,plrcanbeseen:settarget,state=2
:state=1,random=20:rotateheadrandom=65
:state=1,random=60:rotatetoplr
:state=1,shotdamage=10:settarget,waypointstop,animate=1,rotatetotarget,resethead,state=4
:state=1,noiseheard=5:rotateheadrandom=85
:state=2:waypointstop,rotatetoplr,state=3
:state=3:animate=1,waypointstart,state=0
:state=4,plrcanbeseen=46:settarget,state=2
:state=4,random=20:animate=2,waypointstart,state=1
;End of Script