Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Glenjamin on Sat 04/07/2015 01:03:02

Title: Creating different symbols in a character.say event
Post by: Glenjamin on Sat 04/07/2015 01:03:02
How can I make different symbols in the (character.say event)

Normally this event would be used like this:

Code (ags) Select

cego.say("Sample text");


The issue is, I want to make quotations to appear in what the player says. So instead of SAMPLE TEXT, The character would say "SAMPLE TEXT". Putting more quotations in the code breaks it. How should I proceed?
Title: Re: Creating different symbols in a character.say event
Post by: Crimson Wizard on Sat 04/07/2015 01:10:24
Use \" combination:

Code (ags) Select

cego.say("\"Sample text\"");