Alice Community  

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

Reply
 
Thread Tools Display Modes
How do I make a character say a message followed by a number variable
Old
sfq1
Guest
 
Status:
Posts: n/a
Default How do I make a character say a message followed by a number variable - 05-21-2011, 09:00 AM

How do I make a character (eg: Classroom boy) say out a message followed by a number variable as a string? The scenario is to make the boy say out the amount of GST payable of an object. My variables are as follows
- message : "The amount of GST is $"
-"gst" set value to "(price*0.07)"

I am supposed to make the boy say :
"boy" say "message" joined with "gst" as a string
   
Reply With Quote
Answer
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Answer - 05-21-2011, 10:34 AM

Look in World/Functions/String functions. Drag it into a say.

Last edited by MrMoke; 05-21-2011 at 06:43 PM.
   
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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.