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 

Rumble Fight game

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



Joined: 22 Nov 2006
Posts: 43

Digg It
PostPosted: Thu Dec 28, 2006 8:35 pm    Post subject: Rumble Fight game

A little script that allows you to zap another player, and block there zaps

Code:
//RumbleFight V .2 made by Psycho.
//This little game is a 2 player zap game.
//You zap the other player with A and block there zaps with B.
//You cannot zap another player while you are blocking.

//Zap player 2
if Wiimote1.A = true then
   Wiimote2.Rumble = true
   wait 100ms
   Wiimote1.A = false
   wiimote2.Rumble =false
   endif

//Zap player 1
if Wiimote2.A = true then
   Wiimote1.Rumble = true
   wait 100ms
   Wiimote2.A = false
   wiimote1.Rumble =false
endif

//Block player 2
if wiimote1.b = true then
   wiimote1.rumble = false
   wiimote2.rumble = false
   wait 0ms
   wiimote1.b = false
   wiimote1.rumble = false
   wiimote2.rumble = false
endif

//Block player 1
if wiimote2.b = true then
   wiimote2.rumble = false
   wiimote1.rumble = false
   wait 0ms
   wiimote2.b = false
   wiimote2.rumble = false
   wiimote1.rumble = false
endif
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