Making extra's for the status bar

Started by SillySue, Sun 21/03/2004 08:26:49

Previous topic - Next topic

SillySue

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

Fabiano

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

Yeah, yeah, It happens. A lot.

SMF spam blocked by CleanTalk