Page 1 of 1

Character move at mouse (Help)

PostPosted: Wed Nov 09, 2011 5:33 am
by micolord
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. :D

Re: Character move at mouse (Help)

PostPosted: Wed Nov 09, 2011 6:53 am
by skydereign
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.

Re: Character move at mouse (Help)

PostPosted: Wed Nov 09, 2011 7:56 am
by micolord
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.


EPIC :) Thanks :D