Alice Community  

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

Reply
 
Thread Tools Display Modes
Decreasing a Number by a certain amount.
Old
JRG10
Guest
 
Status:
Posts: n/a
Cool Decreasing a Number by a certain amount. - 04-02-2010, 04:49 PM

I was just wondering how i could create a number and make that number decrease by a certain amount.

Thank You.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 04-02-2010, 05:46 PM

Well if you make like 3 methods saying if the number text == 10. To add, incremeant by 1. For subtracting, i forgot what thats called. Some one tell me if im wrong


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 578
Join Date: Nov 2008
Location: In the interwebs
Default 04-02-2010, 06:26 PM

set the variable to itself, and then click on that and look at math!


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 04-05-2010, 12:29 PM

set "variable" to "variable" - "number"
   
Reply With Quote
Reply

Tags
decrease, number, variables

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