Look at object out of range.

Started by freeplayer, Sat 08/03/2014 21:22:44

Previous topic - Next topic

freeplayer

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.


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).


Any solutions?

Thanx!

Babar

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.
The ultimate Professional Amateur

Now, with his very own game: Alien Time Zone

freeplayer

As simple as that!
Solved.
Thank you very much!!

SMF spam blocked by CleanTalk