Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: lemmy101 on Sun 27/08/2006 17:53:26

Title: Door exit arrows not working (SOLVED)
Post by: lemmy101 on Sun 27/08/2006 17:53:26
Hello all!

Does anybody have any suggestions what may be wrong here?

We have 4 directional arrow cursors that we want to change to when hovering over an exit.

On the "mouse moves over hotspot" event of the hotspot (which is over a walkable area with a region to teleport to the room) I've tried:

mouse.SaveCursorUntilItLeaves();
mouse.UseModeGraphic(eModeDoorLeft);

This didn't work, mouse cursor stays the same. so I also tried:

mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeDoorLeft;

Same thing. Just to make sure I tried:

mouse.Mode = eModeDoorLeft;

Can't seem to get my arrow to appear no matter what I do :( any suggestions would be much appreciated!

PS: DoorLeft cursor is #13. I've tried it as"Standard cursor mode" on and off

Thanks!

lemmy

Title: Re: Door exit arrows not working
Post by: Candle on Sun 27/08/2006 18:09:19
Try
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeDoorLeft;
Title: Re: Door exit arrows not working
Post by: SSH on Sun 27/08/2006 18:13:13
Do you have any code in your repeatedly_executes that might override this? Check global, modules, etc.
Title: Re: Door exit arrows not working
Post by: lemmy101 on Sun 27/08/2006 18:23:38
Quote from: Candle on Sun 27/08/2006 18:09:19
Try
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeDoorLeft;

Tried that one ;)

SSH: Nope already checked long and hard, nothing is overriding the mouse whatsoever :-\

Cheers guys

Edit by strazer (Don't double-post, use the "Modify" button):

Doh! Never thought to look in plug-ins! Since the conversation system plug-in has its own blocking I was changing the cursor from within there. I'm an idiot! Cheers SSH for making me check again :D