Alice Community

Alice Community (
-   How do I...? (
-   -   multiplication (

ringo977 06-26-2009 04:57 PM

I need to have a character ask a 'user' how old they are (years) and then tell the 'user' how many days old they are.
I am almost there but can't quite get it to work. I have 'ask user for a string' and the question being 'how old are you', but can't figure out how to multiply the input of the user to come up with the days.
Thanks for any help!

anonymous1 06-26-2009 06:05 PM

Just make 3D text and do

Text set text to "numberenteredbyuser * 365" as string

NOTE: the as string function can be found under the world's functions

ringo977 06-27-2009 10:51 AM

I can't figure out where or how to put the value put in by the user to multiply it by 365. Can anyone help me with this?

All times are GMT -5. The time now is 06:28 AM.

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