Dialog options??

Started by Danman, Wed 09/12/2009 18:45:27

Previous topic - Next topic

Danman

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???



barefoot

#1
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 May Not Be Perfect but I Have A Big Heart ..

Danman

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



SMF spam blocked by CleanTalk