<font color="red">Updated - December 31st 2012 Ver 1.02
I added collision registration to the behavior and made changes according to the new behavior template.</font>
All have is a working demo of the behavior.
Demo 2 shows the object following a path defined by 4 points.
Demo 2 CAPX
The behavior is called runaway and all it does is randomly move a sprite around the screen, bouncing off solid objects.
You can set max distance it travels before it randomly changes the direction. Delay when direction is changed. The speed of the sprite in pixels.
I'm still testing and if there is interest in the behavior i work on it more to release it to the public.
This demo is made up of only 2 events and 1 of them is to show the FPS.
Knights follow path on a map DEMO