Posted By
|
Message
|
![](http://i835.photobucket.com/albums/zz278/W3R3W00F/W3R3W00Fcute.png) W3R3W00F Drum and Bass Fueled Psycho
Registered 08/11/2008
Points 377
![VIP Member VIP Member](tags/vipbadge.png) ![Cardboard Box Cardboard Box](tags/cardboardbox.gif)
|
11th September, 2010 at 01:48:09 -
Hey TDC.
I'm currently working on a character creation thing with a friend but I have a problem.
Basically when I click and hold down the left mouse button on an object the object will follow the mouse until the mouse button is released. But, if I click on multiple objects, it will pick up every object clicked in any order, back to front, when I only want it to pick up the frontmost object.
The answer is probably pretty obvious, but I'm stumped. :| I'll try to clarify more if necessary. As always, any help is appreciated!
An old and washed up once-kid
|
![](http://i.imgur.com/oVn5BGi.png) Sketchy Cornwall UK
Registered 06/11/2004
Points 1971
![VIP Member VIP Member](tags/vipbadge.png) ![Weekly Picture Me This Round 43 Winner! Weekly Picture Me This Round 43 Winner!](tags/picturemethisbandit.gif) ![Weekly Picture Me This Round 47 Winner Weekly Picture Me This Round 47 Winner](tags/picturemethisbandit.gif)
|
11th September, 2010 at 02:03:02 -
Use the "Select Object" extension:
+ User clicks with left mouse button
+ Mouse pointer is over "Object"
+ Select Object Extension: Select Frontmost "Object"
-> Object: Set XOffset to X("Object") - XMouse
-> Object: Set YOffset to Y("Object") - YMouse
-> Object: Set Flag 0 to ON
+ Object: Flag 0 is ON
-> Object: Set X Position to XMouse + XOffset("Object")
-> Object: Set Y Position to YMouse + YOffset("Object")
+ Repeat while left mouse key is NOT pressed
-> Object: Set Flag 0 to OFF
Edited by Sketchy
n/a
|
![](http://i835.photobucket.com/albums/zz278/W3R3W00F/W3R3W00Fcute.png) W3R3W00F Drum and Bass Fueled Psycho
Registered 08/11/2008
Points 377
![VIP Member VIP Member](tags/vipbadge.png) ![Cardboard Box Cardboard Box](tags/cardboardbox.gif)
|
11th September, 2010 at 03:47:17 -
Sketchy, you're a life saver.
Thanks a bunch, man.
An old and washed up once-kid
|
|
|