Alice Community  

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

Thread Tools Display Modes
How do I control dialogue between characters with the press of a button.
Junior Member
Status: Offline
Posts: 1
Join Date: Jul 2012
Angry How do I control dialogue between characters with the press of a button. - 11-20-2012, 12:14 AM

I want a character to say something using the say method and then a speech bubble appears forever until when the user is ready. Then the user presses "A" and then the speech bubble disappears and then the character continues with the next say command. I just can't figure out how to control dialogue with a button instead of speech bubbles lasting certain durations and having to wait or having to read fast. I've tried making the duration for a say method a certain variable but after the speech bubble has appeared the duration will not change.
Please help.
Reply With Quote
Status: Offline
Posts: 195
Join Date: Jan 2007
Default KeepTalking - 11-20-2012, 07:35 AM

See the attached world...

The key is creating the "keepTalking" variable in the world Properties panel. It is a boolean variable with an initial value of true...

The keypress event sets the value of the variable to false, and the knight quits talking...
Attached Files
File Type: a2w keepTalking....a2w (819.9 KB, 9 views)

Don Slater
Alice Team
Carnegie Mellon University
Reply With Quote
Status: Offline
Posts: 29
Join Date: May 2012
Location: Baltimore, MD
Default 11-20-2012, 10:04 PM

When I put dialog in my final project last spring, I used the speech bubbles, but adjusted the duration for each to be more appropriate for how long the line of dialog was.
Reply With Quote

conversation, dialogue, game, speech, text

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