Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Deep Dark Fears

#1
As the title say, if I move my cursor fast over two hotspots it get stuck in mode define with SaveCursorUntilItLeaves function. The hotspots are very close to each other.
Any tips for solving this?

Code: ags

function hClassroomWindow_MouseMove()
{
  if(cPlayer.ActiveInventory == null && gInventory.Visible == false)
  {
  mouse.SaveCursorUntilItLeaves();
  mouse.Mode=eModeUsermode1;  
  }
  
}
#2
As the title say, I want to display names using room_RepExec() but I need help. I have a bool global variable called IsDisplayNamesButtonPressed and a button for that. If the player clicks on button, then it set that variable to true value. And now I want to use room_RepExec() to check the value of variable. If variable is true, then the names are displayed on screen. My problem is, when I put this in room_RepExec() its not working but when I put this in GlobalScript then it works fine. Why?
SMF spam blocked by CleanTalk