Character move at mouse (Help)

Non-platform specific questions.

Character move at mouse (Help)

Postby micolord » 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. :D
I suck so bad.
micolord
 
Posts: 21
Joined: Sun Nov 06, 2011 7:29 am
Location: Philippines
Score: 0 Give a positive score

Re: Character move at mouse (Help)

Postby skydereign » Wed Nov 09, 2011 6:53 am

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Character move at mouse (Help)

Postby micolord » Wed Nov 09, 2011 7:56 am

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
I suck so bad.
micolord
 
Posts: 21
Joined: Sun Nov 06, 2011 7:29 am
Location: Philippines
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest