I just restarted using AGS and I need some basic help regarding conversation events scripts.
1. Adding items into inventory via conversation dialog. I tried using the dialog box but it can't recognize the item. Cause this is included in a conversation with a person which is why I don't want to use Display(). And I need the item to disappear once the option is selected.
Code: ags
2. Opening inventory using dialog, once exit inventory dialog resumes. Something like "dialog: Why don't you check ur inventory?" "inventory opens" "click exit" "dialog: you see?"
1. Adding items into inventory via conversation dialog. I tried using the dialog box but it can't recognize the item. Cause this is included in a conversation with a person which is why I don't want to use Display(). And I need the item to disappear once the option is selected.
@2
Ego: "Its an empty ale mug, just what I need at the moment"
{
player.Walk(260, 300, eBlock);
AleMug.Visible = false;
player.AddInventory(iAleMug)
}
2. Opening inventory using dialog, once exit inventory dialog resumes. Something like "dialog: Why don't you check ur inventory?" "inventory opens" "click exit" "dialog: you see?"