PDA

View Full Version : Choose your Character!!


Jeremytroid
11-06-2009, 05:31 PM
:confused:How do you make it so that when you click something you are able to control it?:confused:

zarfang8
11-06-2009, 06:03 PM
let the arrow keys control a box or something invisible, and when you click on a character, have box move to that character and that character vehicle it.

x2495iiii
11-07-2009, 02:02 AM
That's a great idea, zarfang. I had one too, but that one's easier to understand. Great job!

My idea was to make a world-class object variable, then have it set it's value to what the user clicked, then have the arrow keys move that variable.

Jeremytroid
11-07-2009, 09:29 AM
I messed with it after I made the thread. It's actually quiet simple. You change the "vehicle of the 'object' to the 'camera'" when you click the object and then have the camera "set point of view to 'object'". Then you just make the arrow keys move the camera. In this case it's easier done than said.:D

Edit:Here's an example world. This was made under the context of an FPS but it could be worked with to do any thing probably.

Controls: Click=choose character
Arrow keys=move
Space=Shoot