I want the status bar to have a text that says what icon I'm using and on what hotspot I'm using it on.
I've already writen @overhotspot@, but what must I write for the icon
From the manual:
GetCursorMode
GetCursorMode()
Returns the value of the current mode of the cursor. This is either MODE_LOOK, MODE_USE, MODE_TALK or any custom modes you have created.
Example:
if (GetCursorMode() == MODE_WALK)
{ code here }
will execute the code only if the current cursor mode is MODE 0 (WALK).
so, u can put in the script
if (GetCursorMode() == MODE_WALK)
{ SetLabelText (int gui, int object, Walk to @OVERHOTSPOT);}
and so on