Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: deltree on Sun 16/11/2003 19:32:14

Title: activate dialog option depending on condition?
Post by: deltree on Sun 16/11/2003 19:32:14
hi again,
I've got a problem with dialog scripting:
I'd like to enable some dialog option (in the dialog screen) depending on wether the character has an object or not.
For example, the player has a stone in is inventory, and when he talks to another character, the dialog option:
"what can you tell me about this stone" will appear ONLY if the player possess the stone.
Title: Re:activate dialog option depending on condition?
Post by: Pumaman on Sun 16/11/2003 19:32:56
The easiest way is to use SetDialogOption to enable it when the player picks up the stone.
Title: Re:activate dialog option depending on condition?
Post by: deltree on Sun 16/11/2003 19:39:30
thanx!