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 - stamatefilip

#1
Hi,

I want the cursor to change its graphic to Look At when its over any hotspot.
I put this in the global script in repeatedly_execute:

Code: AGS
if (Hotspot.GetAtScreenXY(mouse.x, mouse.y) != hotspot[0])
    {
    mouse.SaveCursorUntilItLeaves();
    mouse.UseModeGraphic(eModeLookat);
    }


This works fine, however, if I interact or look at a hotspot I make the character walk to it first (with eblock on) but I don't get the wait cursor while the character moves. It just keeps the Walk graphic (or the Look At graphic it it's over the hotspot).
How can I fix that?
And is there another better global way to get the cursor to change over hotspots?

Edit: Oh, and just to be clear. I have set the left mouse button to process "eModeLookAt" if the cursor is over a hotspot and to "eModeWalkto" otherwise. The right mouse button is set to "eModeInteract". So, right now when I have the cursor over a hotspot, the graphic changes to Look At. If I left-click or right-click the appropriate even happens except I don't get the Wait cursor while the character is moving with Character.walk
#2
Hi!

I encountered a little problem. So, I have a transparent object behind which the player can move, but if I place a hotspot behind it, I can't access it with "Look at hotspot", "Interact hotspot" and so on. Basically, I want to be able to interact with the transparent object too, but the area where the hotspot is should belong to the hotspot.

Is there a way to move the hotspot in front of the object? That seems like it would solve my problem.

Thank you.
SMF spam blocked by CleanTalk