Character move at mouse (Help)
Posted: Wed Nov 09, 2011 5:33 am
I am trying to make a character move when you right click your mouse on the ground you know like any other RPG do but everything I do keeps on failing ): Please help me.
Game Editor discussion board
http://game-editor.com/forum/
MoveTo("player", 0.0, 0.0, 3.0, "Mouse Position", "");
skydereign wrote:You mean like this?
ground -> Mouse Button Down right -> Script Editor
- Code: Select all
MoveTo("player", 0.0, 0.0, 3.0, "Mouse Position", "");
You need a ground actor to click, and a player actor to move. The 3 is the speed that the player will move at.