Page 1 of 1

mouse follow help

PostPosted: Sun Dec 19, 2010 11:20 pm
by Nykos
Hi everyone, my name is Nykos and i'm new to Game Editor and to game developing too.
I'm begining to understand how G E works but I still have some problems.
I have an actor that I want to follow the mouse, so I used "Mouse button down" --> "left mouse button" --> "follow mouse" on X axis. But i'd like it to stop following the mouse when the left button is not pressed. I tried "Mouse button up" but it does not work.
What do I have to do?

Thanks in advance

Nykos

Re: mouse follow help

PostPosted: Mon Dec 20, 2010 7:57 am
by skydereign
It should work, unless I read your problem wrong. Here's an example of it, the only trick is on MouseButton up event, to set the FollowMouse to none.

Re: mouse follow help

PostPosted: Mon Dec 20, 2010 9:39 am
by Nykos
Works perfectly, thanks a lot man