WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Script for space

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts
View previous topic :: View next topic  
Author Message
the_masked_cow



Joined: 12 Jul 2008
Posts: 4

Digg It
PostPosted: Sun Jul 13, 2008 12:40 pm    Post subject: Script for space

I am trying to learn this stuff Smile Can anyone write a simple sricpt that makes the Wiimote press "space" when I lift (flick it up) my Wiimote if you know what I mean.
Back to top
View user's profile Send private message
SuperSonic



Joined: 03 Jul 2008
Posts: 11

Digg It
PostPosted: Sun Jul 13, 2008 8:20 pm    Post subject:

Code:
Key.Space = MapRange(Wiimote1.Pitch, -90 degrees,90 degrees, 0,1)

i just did that with the GUI tab but that might be what you want
_________________
"Sonic's the name, speed's my game!"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group