Alice Community  

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

Reply
 
Thread Tools Display Modes
how do i create a variable that keeps track of how many times a character jumps?
Old
MrTaperFadeCut
Junior Member
 
Status: Offline
Posts: 1
Join Date: Sep 2011
Default how do i create a variable that keeps track of how many times a character jumps? - 09-28-2011, 11:09 PM

i attached the a2w file,

im trying to modify the world to include a loop that will keep track of how many times each charcter jumps, and print statments after the loop

its due tomorrow, and im a bit stuck =/
Attached Files
File Type: a2w Triple jump random.a2w (854.8 KB, 12 views)
   
Reply With Quote
Old
Nighthawk0973
Senior Member
 
Nighthawk0973's Avatar
 
Status: Offline
Posts: 240
Join Date: May 2011
Location: In front of my computer.
Default 09-29-2011, 02:55 PM

to create a variable, create the variable, set the variable type to interger (whole number or 'int') and set it to 0 for the value. Than when players jump than increment the variable. As far as the world stuff, don't ask me, I have removed alice because I don't use it anymore.
   
Reply With Quote
Reply

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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.