Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Danman on Wed 09/12/2009 18:45:27

Title: Dialog options??
Post by: Danman on Wed 09/12/2009 18:45:27
I got a problem with AGS with my game I have made a Dialog and The options don't come up
(so I can't select any options but I have made them).
I think it is because I started with an empty template .
How could I get dialog options to come up at the bottom???
Title: Re: Dialog options??
Post by: barefoot on Wed 09/12/2009 18:59:08
hi

have you 'checked' (ticked) any of the     'show'    'say' options?


this is a typical Dialog example:

// Dialog script file
@S  // Dialog startup entry point
Redpants: What can I have?
cDeath: These are your choices
return

@1
cDeath: A stretch Hat that makes you invisible for a short while
cRedpants: I'll take that
cDeath: Good choice Sir. Safe journey Redpants
cRedpants: Thank you
cRedpants.AddInventory(yhat);
stop

@2
cDeath: A Scarf that turns into a Giant Worm
cRedpants: I'll take that
cDeath: Good choice Sir. Safe journey Redpants
cRedpants: Thank you
cRedpants.AddInventory(scarf);
stop

@3
cDeath: A Book with a spell of hypnotism by Alistair Crowley
cDeath: Good choice Sir. Safe journey Redpants
cRedpants: Thank you
cRedpants.AddInventory(book);
stop


you can replace stop with return except last option in this case.


barefoot
Title: Re: Dialog options??
Post by: Danman on Thu 10/12/2009 10:31:52
Quote from: barefoot on Wed 09/12/2009 18:59:08
hi

have you 'checked' (ticked) any of the     'show'    'say' options?


this is a typical Dialog example:

// Dialog script file
@S  // Dialog startup entry point
Redpants: What can I have?
cDeath: These are your choices
return

@1
cDeath: A stretch Hat that makes you invisible for a short while
cRedpants: I'll take that
cDeath: Good choice Sir. Safe journey Redpants
cRedpants: Thank you
cRedpants.AddInventory(yhat);
stop

@2
cDeath: A Scarf that turns into a Giant Worm
cRedpants: I'll take that
cDeath: Good choice Sir. Safe journey Redpants
cRedpants: Thank you
cRedpants.AddInventory(scarf);
stop

@3
cDeath: A Book with a spell of hypnotism by Alistair Crowley
cDeath: Good choice Sir. Safe journey Redpants
cRedpants: Thank you
cRedpants.AddInventory(book);
stop


you can replace stop with return except last option in this case.


barefoot
I figured out what I did I forgot to add the return option  :-[ . Thanks for replying anyway  ;D