Locking the Cursor

Started by metalmario991, Sun 01/03/2015 20:47:27

Previous topic - Next topic

metalmario991

I wanted to know if there is a way to lock the cursor on one specific type. For example, when the player dies and gets the Death Screen how do I make it so they can only use the Pointer cursor?

NickyNyce

#1
Code: ags
  mouse.DisableMode(eModeTalkto);
  mouse.DisableMode(eModeLookat);
  mouse.DisableMode(eModeWalkto);
  mouse.DisableMode(eModeInteract);
  mouse.UseModeGraphic(eModePointer);


and this when you're done...

Code: ags
  mouse.EnableMode(eModeLookat);
  mouse.EnableMode(eModeWalkto);
  mouse.EnableMode(eModeTalkto);
  mouse.EnableMode(eModeInteract);
  mouse.UseModeGraphic(eModeInteract);


SMF spam blocked by CleanTalk