I noticed that in the script:
RunDialog(0);
character[0].room=-1;
character changes room before dialog ends. Does this mean that RunDialog is non blocking action or am I missing something.
In the script:
DisplayMessage(0);
character[0].room=-1;
character changes room after message is displayed. Then how do I move character to another room after dialog is done?
And another question:
I have this script under repedeately execute to show status display of items/hotspots currently under mouse pointer:
string my_buffer;
GetLocationName(mouse.x, mouse.y, my_buffer);
SetLabelText(1, 0, my_buffer);
But the problem is that when I use action (interact for instance) and then use some blocking action (MoveCharacterBlocking or something) status GUI remains displayed untill action is done, wich is very annoying. How do I solve that?
Quote from: BorisZ on Thu 26/05/2005 15:20:04
I noticed that in the script:
RunDialog(0);
character[0].room=-1;
character changes room before dialog ends. Does this mean that RunDialog is non blocking action or am I missing something.
In the script:
DisplayMessage(0);
character[0].room=-1;
character changes room after message is displayed. Then how do I move character to another room after dialog is done?
(http://koti.mbnet.fi/tk-/img/RTFM.gif) ;)
Dialogs are ALWAYS ran LAST of the script block. You'll need to split that into two "Run Script"s or use dialog_request.
Thanks.
Any hints about status GUI?
You can put your status GUI script into the repeatedly_execute_always function which also runs during blocking actions.
Quote from: strazer on Fri 27/05/2005 05:28:56
You can put your status GUI script into the repeatedly_execute_always function which also runs during blocking actions.
Thanks!