Trouble with Dialogue in AGS version 3.0.1 (Solved)

Started by TCD, Sun 10/04/2011 21:25:58

Previous topic - Next topic

TCD

Hey, I've been working through the tutorial and I've arrived at the start(dialogue) section. However, when I enter my charecter name with .start this message keeps popping up when I try to run the game,

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

What I have written is:

function NC_Talk()
{
NC.Start();
}

I have no idea what to do and I have searched it in the manual and the forum yet haven't found it.

Help will be very appreciated,

TCD

TomatoesInTheHead

You have to start a dialog (created in the "Dialogs" pane of the editor), not a character.

Also, it's worthwhile to use the naming convention to begin every dialog name with a "d", character names with "c", objects with "o" and so on.
So you would have a character cNC which you talk to and a dialog dNC which you start then.

TCD

#2
Quote from: TomatosInTheHead on Sun 10/04/2011 21:33:00
You have to start a dialog (created in the "Dialogs" pane of the editor), not a character.

Also, it's worthwhile to use the naming convention to begin every dialog name with a "d", character names with "c", objects with "o" and so on.
So you would have a character cNC which you talk to and a dialog dNC which you start then.

I've already created a dialog. before .Start, so I'm not sure what else it would be.


EDIT, actually solved it after re-reading your post, I had to change the title to the dialogue name, thanks very much for the help.

SMF spam blocked by CleanTalk