| View previous topic :: View next topic |
| Author |
Message |
vbsoccerdude94
Joined: 15 Jan 2007 Posts: 30
Digg It |
Posted: Tue Jan 16, 2007 12:28 am Post subject: Nunchuk Analog Stick...... |
|
|
| I'm in the process of making a custom Halo PC Script, I just learned scripting in GlovePIE today, so I'm wondering what the code is to use the nunchuk's analog stick to look around:?: Thanks in Advance. |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Tue Jan 16, 2007 12:48 am Post subject: Re: Nunchuk Analog Stick...... |
|
|
| vbsoccerdude94 wrote: | | I'm in the process of making a custom Halo PC Script, I just learned scripting in GlovePIE today, so I'm wondering what the code is to use the nunchuk's analog stick to look around:?: Thanks in Advance. |
| Code: | //Go to control setting, Then there is look up, down, right, left
//button movements. Change those to the arrow keys
//Nunchuk Controls
left = (-1.2 < wiimote1.Nunchuk.JoyX < -0.5)
right = (0.5 < wiimote1.Nunchuk.JoyX < 1.2)
up = (-1.2 < wiimote1.Nunchuk.JoyY < -0.5)
down = (0.5 < wiimote.1Nunchuk.JoyY < 1.2)
|
If you use my code in your script, plz include my name
thx _________________ Check out my collection of my wii script's
freewebs.com/kunalkunal2 |
|
| Back to top |
|
 |
vbsoccerdude94
Joined: 15 Jan 2007 Posts: 30
Digg It |
Posted: Tue Jan 16, 2007 1:09 am Post subject: |
|
|
| That script didn't work, no response..... |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Tue Jan 16, 2007 1:59 am Post subject: |
|
|
it doesnt work in Halo, or in everything else _________________ Check out my collection of my wii script's
freewebs.com/kunalkunal2 |
|
| Back to top |
|
 |
vbsoccerdude94
Joined: 15 Jan 2007 Posts: 30
Digg It |
Posted: Tue Jan 16, 2007 2:27 am Post subject: |
|
|
| oops, sorry, it works, I copied it wrong...thanks. |
|
| Back to top |
|
 |
|