Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: steptoe on Sun 18/03/2012 06:58:23

Title: SOLVED: Wait cursor problem - Not showing
Post by: steptoe on Sun 18/03/2012 06:58:23
EDIT: Obviously this was stopping it which I have since taken out:


GUIControl *gcat = GUIControl.GetAtScreenXY(mouse.x, mouse.y);
 if ((gcat == null) || (gcat.AsButton == null)) mouse.UseDefaultGraphic();
 else mouse.UseModeGraphic(eModeInteract);


-------------------------------------------------------------------

When changing Rooms cursor will not show Wait Image

in the first Room under RoomLoad (Player clicks a Hotspot to go to next Room)


  mouse.DisableMode(eModeWalkto);
  mouse.DisableMode(eModeLookat);
  mouse.DisableMode(eModeTalkto);
  mouse.EnableMode(eModeInteract);


and in next RoomLoad


  mouse.EnableMode(eModeLookat);
  mouse.EnableMode(eModeWait);
  mouse.EnableMode(eModeTalkto);
  mouse.EnableMode(eModeWait);


Player eblock walks but mouse shows hand.

Somehow the Wait cursor does not show for blocking events and shows as the interact hand.

Can't see anything in the Global. Have tried a few things but to no avail.