Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Riding a Wheelie

Rutherford Beresford
Registered User
Join date: 2 Sep 2007
Posts: 45
03-07-2009 06:49
Presently I have a script that will move a motorcyle forward when it detects the control_fwd button is pushed. Separately, it also will lift the front wheel off the ground when the control_up button is pushed. My question is this. I want to be able to be moving the motorcycle forward and AT THE SAME TIME have the motorcycle lift its front wheel off the ground if and when I press the control_up button every now and then. I'm assuming I'd have a section of code for the forward motion, a section of code for the wheelie section, and then a thrid section where I do something if BOTH buttons are pushed, released, etc...? Is there a significance to the order in which I need to test for these things in order to make the individual functions work as well as the two functions working together?

Thank you,
Rutherford Beresford
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
03-09-2009 00:45
Hmmm... We can't guess what's in your script... Copy and paste it here. If it's very long, just paste the control() event.

And of course, you're entitled to come back just to say that you figured it out by yourself after having studied the control() event... :P (I'm feeling lazy...)