Pick up does not work

Started by , Wed 02/11/2005 20:03:34

Previous topic - Next topic

PennyLane

Hi all,

I know this must be a really stupid question but I've already searched all over the place and couldn't find a solution.

I am at the very beginning of designing a game and simply want to make my character pick up an object. As the object is way too small to click I'm using a hotspot to make it more easily clickable. So I've got 2 interactions for the hotspot in "Pick up hotspot":
"Player - Give the player an inventory item (1)"
"Object - Remove an object from the room (0)"

However, this does not seem to work. When you click on the pick up symbol and then on the hotspot, the player walks to the hotspot and then does nothing.

Strangely enough, it works fine if I use "Interact hotspot" instead of "Pick up hotspot".

Who can help?

Thanks,
PennyLane

Ashen

By default, the 'Pick up' Cursor mode isn't activated (won't be accessed when you right-click through the modes). Also - unless you've added one yourself ther is not 'Pick Up' icon on the ICONBAR GUI - chances are you've clicked on the 'Use' button, which is why it works in 'Interact with hotspot'.

So you'll need to switch the Pick Up mode on (Check the 'Standard Cursor Mode' box for Cursor 5 on the 'Cursors' window), and add a button to the GUI (if you haven't already).

If you've already done these (and you're sure your Pickup button sets the right mode), I'm not sure what the problem is, sorry.
I know what you're thinking ... Don't think that.

PennyLane

Thanks a lot for your quick reply. I checked the "Standard Cursor Mode" checkbox and added a new button which is to be my pick up button. Now how do I tell it that it's the pick up button? I tried to look how the other buttons work but I can't figure out how their function is assigned to them.

PennyLane

Ashen

Set the button's 'Left click' property to 'Set Cursor Mode', and 'New mode number' to '5'.

This is in the manual, though. Give the section on GUIs and GUI controls a read through before you start making your own (more advanced) GUIs.
I know what you're thinking ... Don't think that.

PennyLane

It works! Thank you!

PennyLane

SMF spam blocked by CleanTalk