(01-07-2013, 02:46 PM)Robosprog Wrote: I did not notice a debug message at any rate, when running through the area, so that means that it is being called, yes?
For a function, if the corresponding message was shown (each should be different, so that you can tell which one is it), then yes.
(01-07-2013, 02:46 PM)Robosprog Wrote: Done that, noticed it after second test but it still doesn't work.
Hm... If all checks out, then I'm not sure what's going on. Gotta go now, but I'm going to try and test the code later on, if the issue isn't resolved. For now, when you say it doesn't work, you mean that everything compiles, no errors are shown, but enemy doesn't patrol the area? What
exactly happens, and what did you expect to happen?
Also, do you happen to use CreateEntityAtArea() anywhere in the script file (in parts not shown here, if any)? It says in the wiki:
Quote:When creating an enemy [using this function], it cannot chase properly along PathNodes(using for example ShowEnemyPlayerPosition).