Dialog problem

Started by cece0808, Wed 28/12/2005 12:56:01

Previous topic - Next topic

cece0808

Hey

I cannot get my dialog working. Below is simple test dialog, but i cannot get it work. What's wrong? It's exactly as the tutorials and manual prefers but when i try to save the script in AGS is says:

"There was an error compiling the script for dialog topic 1.
The error was:
Dialog (line 4): Unknown character: 'man'


What am I doing wrong :o?


// dialog script file
@S // dialog startup entry point
ego: Hey
Man: Zzzzzz
return

@1 // Leave the man be.
Leave the man be.
stop

Ishmael

Do you have a character whose script name is MAN? If not, that explains it. You should use the script names only in dialogs.

Also, what's the option 1 supposed to do? Have ego say the line, or display it in a textbox? If you want to put it in a text box change the line to 'narrator: Leave the man be.'
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

DoorKnobHandle

DO you have a character named "Man"? Pay attention to upper and lowercase letters ("Man" and "man" might be a difference)...

Also another error is underneath the line @1: You just wrote the words "Leave the man be." but there needs to be some person in front of that: for example "narrator: Leave the man be." or something like that.

EDIT: Darnit, Ishmael beat me. Stupid me did a double-click on the "Save" button, thus skipping the warning...

SMF spam blocked by CleanTalk