Problem with goto-dialogue

Started by Iron Lawnmower, Sat 31/05/2014 21:53:46

Previous topic - Next topic

Iron Lawnmower

So what I'm trying to do is when the player selects an option it will go to a different dialogue. Problem is I keep getting an error that says Dialog 7(16): Error (line 16): expected '('
but when I put the GoTo-Dialogue line in brackets (); it says there is a parse error.
Code: ags

// Dialog script file
@S  // Dialog startup entry point
Charles:Lord Satan?
Ego:What is it mortal?
Charles:We need to talk about something very important?
Ego:More important than dipping sinners genitalia in acid?
Charles:Yes, Hell is in the red.
Ego:Isn't hell always red?
Charles:Yes but it's just not financially sustainable.
Charles:Nobody is going to hell anymore since Heaven loosend the rules.
Charles:Used to be if you even THOUGHT about touching yourself you'd be sent down here.
return
@1
Charles:Something that should be easy for the so called "Father of all lies"
Ego:That's what my business card says.
 GoTo-Dialog dquestgiven
@2
Charles:Simple my luciferic friend.
 GoTo-Dialog dquestgiven
@3
Charles:Patience is a virtue.
Ego:In case you haven't noticed I'm Satan.
Ego:Not exactly the definitionn of "virtious".
Charles:That's beside the point. If you want to keep your position as lord of hell you have a task to complete.
 GoTo-Dialog dquestgiven


Khris

goto-dialog is a dialog command, not an AGSScript command. Only the latter ones must be indented.
Code: text
@1
Charles: Something that should be easy for the so called "Father of all lies"
Ego: That's what my business card says.
goto-dialog dquestgiven

Iron Lawnmower


SMF spam blocked by CleanTalk