great, now that this all works, here's the next update.
There's good news and bad news.
The good news is that I've extended the system greatly. I switched to javascript, which allows us to actually use object variables in our scripts as input. The wrappers I created can be plugged into most actions now. While this has certainly become more complex, it is also exponantially more powerful. Let me know what you think of it (I think this would be the first PM plugin that uses object variables directly).
The bad news ist that this is not backwardscompatible.... You will likely have to manually reproduce your FSMs so far. For me that took about 45 minutes, which is fair considering the new features and potential I think. Even so, I'm sorry this reformation comes so late. Beta should not be so irradical.
I've never been good at documentations, and right now the code is a mess, especially since I played around to find ways to make the warnings disappear. I also implemented some fixes regarding previous problems like the followTarget action. Have a look at them and tell me what you think.
As far as the changelog goes, there you go, if incomplete :
0.7 beta
- get node info
- removed unneeded warnings and added thrice as much necessary warnings
- check area walkability individual
- wrapper variables
- createPathTo (advanced and js version)
- followPath (advanced and js version)
- translatePath
- getPathInfo
- getNodeInfo
- getNodeFromNodes
- autoMove helper script for movement even if the action is not active.
- Debug paths options
- smooth path action
- ported all the rest of those scripts to js, if they use any object variables (yes, I'm too tired to list them here )
- ... lots and lots of small changes and additions. I really couldn't keep track of them all but I think I addressed everything mentioned in this thread before. Hope everyone's pleased