Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: seraphimdreamer777 on Wed 23/04/2008 18:21:08

Title: I'm having trouble with diologs in ver 3.0.1
Post by: seraphimdreamer777 on Wed 23/04/2008 18:21:08
I can't seem to get my game to run I keep getting script error

GlobalScript.asc(402): Error (line 402): '.start' is not a public member of 'Dialog'. Are you sure you spelt it correctly (remember, capital letters are important)?

This is from my script

function HELLSCHERUB_Talk()
{
  dDialog1.start();
}

And I looked in the manual the way I came up with whats above from my script  is in Getting Started with AGS - Part 8 where it says

function cMerchant_Talk()
{
  d Merchant.Start();
}

but my script don't work so thanks in advance for any help


Title: Re: I'm having trouble with diologs in ver 3.0.1
Post by: Khris on Wed 23/04/2008 18:24:27
dDialog1.Start();

"(remember, capital letters are important)"
Title: Re: I'm having trouble with diologs in ver 3.0.1
Post by: seraphimdreamer777 on Wed 23/04/2008 20:43:35
Thanx for the help but now I have another delima with the dialog only this time there isn't any way I can show whats going on but when the main character starts talking to the other character the game freezes except for the options appearing at the bottom of which if I choose it the main character says it then it goes back to showing the same option also some strange text bar shows up under the option that I can type in but nothing happens when I type something and press enter so whats up with the text box and is it related to why the game won't continue again thanx ahead of time for any help
Title: Re: I'm having trouble with diologs in ver 3.0.1
Post by: seraphimdreamer777 on Thu 24/04/2008 03:07:30
I solved the problem myself it was that instead of using the return command at the end of my dialog I needed to use the stop command and I had the text parser activated which caused the text box to appear.