Hi there, I've got the following problem:
I have a verb coin gui with three buttons for look, talk and interact. When a button is pressed, the corresponding action is triggered by a code similar to this:
if (button ==1){ // Look
GUIOff(COIN);
ProcessClick(mouse.x, mouse.y, MODE_LOOK);
}
This works fine except for the TALK action, when a characters 'talk to character' script runs a dialog. The coin stays on screen until a dialog option has been clicked, then it vanishes. I have tried to put a GUIOff command right before the RunDialog command as well as running it from a run-script command - it always results in the same.
Is there a way to make the coin GUI disappear before the dialog options are displayed?
Something like this should work:
GUIOff(COIN);
Wait(1);
ProcessClick(mouse.x, mouse.y, MODE_TALK);
Good point though, the dialog system should really redraw the screen before displaying the options.
Good solutions can be that simple...
Thanks Chris, I will try that right now.
Yeah, now it works just as I expected.
Thanks again!