Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: freeplayer on Sat 08/03/2014 21:22:44

Title: Look at object out of range.
Post by: freeplayer on Sat 08/03/2014 21:22:44
Hello.
I've made in my demo game, an object. It's a Knife (Cutit, in my language).
I've place the object, and also made it so the main character can take it in his inventory. Everyting works fine until here.

My problem is:

When/If the character wants to look at the object before picking it up ( function OBECJTNAME_Look() ), the object (the EYE cursor) must be place lower (very low) than the actual object to be seen, and also to see the description. Why? Normaly, you must put the EYE cursor ON the obect, and not under it, in the "air". Same ting is when i select the HAND cursor (interaction). To pick up the object, i must place the cursor under it and not on it, as it normaly would be...

I will show you 2 pics:

1 - In this pic you can see the EYE is below the actual object, and i get the description "Cutit" (knife). This is wrong because the EYE cursor is out of range and not on the object.
(http://i58.tinypic.com/vg0kna.jpg)

2. In this pic you can see the EYE is ON the object, as it normaly would be, but no description (same ting with pick-up/interact).
(http://i60.tinypic.com/o92rdu.jpg)

Any solutions?

Thanx!
Title: Re: Look at object out of range.
Post by: Babar on Sat 08/03/2014 21:27:47
You'll want to expand the "Mouse Cursors", select each cursor, go to HotspotX and HotspotY in the Property pane, and set it to a value that centres it where you want on the cursor.
Title: Re: Look at object out of range.
Post by: freeplayer on Sat 08/03/2014 21:56:24
As simple as that!
Solved.
Thank you very much!!