Alice Community  

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

Reply
 
Thread Tools Display Modes
Need help with making object say and repeat!!!
Old
LMARIEWASH05
Guest
 
Status:
Posts: n/a
Default Need help with making object say and repeat!!! - 04-21-2011, 02:17 PM

I am struggling with an assignment and any help would be greatly appreciated!

First I have to ask the user for their name (I know how to do this part) then have the character say hello to the person by name. I cannot figure out how to get the character to repeat the person's name. I have tried using a variable but I don't think I'm doing it correctly.

Second, I have to ask the person for their age (I know how to do this as well) then tell the person approximately how many days old he or she will be on his or her next birthday. I'm at a total loss for this one. Please help as this assignment is due by Saturday.

L.
   
Reply With Quote
Update
Old
LMARIEWASH05
Guest
 
Status:
Posts: n/a
Default Update - 04-21-2011, 04:35 PM

I figured out the first part with the name but I'm still at a loss as to the age part. I know that I need to take the user age + 1 * 365 but how do I do this? Please help!

L.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-21-2011, 05:58 PM

Well, I'm not going to do your assignment for you, but I will give a little advice

You are going to need to use the world level function "what as string" and a variable, and have to make the variable set value to the users response. Then use the math necessary to change it to the proper number of days, and display them using the what as string 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
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 04-21-2011, 08:10 PM

I created an similar example (not exact because I don't want you to steal it and take it for credit). See if you can learn from what I have in the example and let us know if you need anymore help.
Attached Files
File Type: a2w example.a2w (487.0 KB, 7 views)


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Old
meeatpizza
Senior Member
 
meeatpizza's Avatar
 
Status: Offline
Posts: 107
Join Date: Jan 2011
Location: 'Murica
Default 04-22-2011, 05:19 PM

here
Attached Files
File Type: a2w example1.a2w (903.7 KB, 10 views)


Current Alice Projects

WaVE fps engine
Inventory-------- NEED HELP WITH MY INVENTORY!!!!!!!!!-----------------------
GTA Alice

My Website
http://teamamazingstudios.webs.com/

My Unity 3D Game
http://www.youtube.com/watch?v=7hd__0Yyf5U
   
Reply With Quote
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Thumbs down 04-22-2011, 05:28 PM

Hey! put it down you just did his assignment!


:D
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-22-2011, 05:42 PM

@Meetpizza. People here will generally help with other people's assignments, I.e, tell them how to do specific things, but they will not do other peoples assignments for them. Please take it down, and give advice needed to complete the assignment.


--------------------------------------------------------------------------------------------------------------------------
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

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.