Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Ball And Strike Counter
Old
GregK13
Junior Member
 
Status: Offline
Posts: 5
Join Date: Mar 2012
Default Ball And Strike Counter - 05-07-2012, 09:28 AM

How do I have a 3D text increment for baseball strike and ball counter? I need it to count the player's amount of balls or strikes they get and once they either have 4 balls or 3 strikes have it reset to zero and then start again.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 05-07-2012, 10:47 AM

Use a counter variable, and tell the 3d text to set value to "Counter variable as string"

And a few simple if statements should be fine for the reset thing.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Reply

Tags
counter

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.