by edh » Sun Sep 14, 2008 11:26 pm
You'll need to do some scripting eventually.
Here's a simple approach to get started. You will probably end up with some "moon walking" unless you do something clever.
To make the actor follow the mouse, create a canvas which is larger than the view.
Add an event to the canvas: mouse button down, left button.
Add action: move to, select the actor you want to move, relative to mouse position.
Run that. You actor guy should move to wherever you click.
To make the character animate and then stop once he has reached his position, do this.
Add an event to the actor, move finish.
Add action: change animation to whatever the stop animation is.
You're going to need code though. You will want to detect where the mouse x and y are so you can choose which animation to use (Walk North, Walk NE, Walk E, ...) and which animation to stop on (Stand North, Stand NE, Stand E, ...). In that case, you would choose script events for everything and make the right function calls from the script instead of the editor interface.