Disable Hostpots/Objects In Wait Mode? (SOLVED)

Started by DazJ, Tue 29/07/2008 15:34:04

Previous topic - Next topic

DazJ

I'm using SSH's Description module which is great.

My question is, is there anyway to disable to Descriptions of Object/Hotspots etc when the mouse cursor is in wait mode? It looks sloppy when a cutscene is on but the player can still move the cursor and display the hotspots' and objects' descriptions.

Thanks in advance.

TwinMoon

#1
I don't use that module, but:

You could disable the label: if it is called lblStatusline, you could put in the repeatedly_execute (global script):

if ( (Mouse.Mode == eModeWait) && (lblStatusline.Visible==true) )
  lblStatusline.Visible = false;
else if (lblStatusline.Visible == false) lblStatusline.Visible = true;


Alternatively, in the module itself there also is a rep_exe, you could stop it from updating whenever the cursor is in wait mode.

EDIT: Just skimmed through the module, Andrew uses rep_exe_always. IMHO changing it to this should solve your problem:

Code: ags
function repeatedly_execute_always() {
  if (Mouse.Mode != eModeWait) Description.rep_ex();
}


DazJ

#2
That doesn't work I'm afraid :(

EDIT: Fixed. I changed the

Description.NoDescriptionWhenMode=7;

setting.

SMF spam blocked by CleanTalk