I'm having trouble with diologs in ver 3.0.1

Started by seraphimdreamer777, Wed 23/04/2008 18:21:08

Previous topic - Next topic

seraphimdreamer777

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


Victory is my destiny

Khris

dDialog1.Start();

"(remember, capital letters are important)"

seraphimdreamer777

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
Victory is my destiny

seraphimdreamer777

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.
Victory is my destiny

SMF spam blocked by CleanTalk