Please except my apologies for seeming like a complete newb, but I have no idea how scripts work. I am trying to create better pathfinding for the enemies in my game (abs style) so that when you come within a certain range of them, they automatically come at you to attack, or if you get a certain distance away, they stop.
I copied the script over into the proper spot, copied the following PathFinder.request(C_ID, TARGET[, RANGE[, PASSABLE]]) and pasted it into a script call in one of my events movements that is set to custom. I have tried plugging in multiple things within C_ID and Target etc... Nothing is working as it just keeps giving me a Syntax Error.
Basically, how exactly should PathFinder.request(C_ID, TARGET[, RANGE[, PASSABLE]]) be set up? I read through the script and read the tutorial but I find the technical terms used to be a bit confusing of what each of those 4 things mean.