Problems With Objects

Started by , Sat 08/07/2006 18:02:25

Previous topic - Next topic

Roger Dodger

Hi

I have just started taking the first few steps with creating a game in AGS. I have created a room and placed an object in it. I have set up some interactions with the object so that when the player interacts with it, the following should happen;

1. character should walk to a set of X,Y coords
2. a message is displayed
3. object appears in the inventory
4. object disappears from the room

But all that happens is steps 2 & 3; the character stays put and the object remains in the room. I have checked (and re-checked) the interation editor entries for the object and I've had a quick look around these forums but I can't figure out what I'm doing wrong.

If anyone can help it would be much appreciated.

Thanks

DoorKnobHandle

#1
Hello and welcome to the forums first. :)

To your question: in order for us to be able to help you, I think we'd all need to see what you did actually. It might be the easiest option for you to take a screenshot of your interaction editor and upload it somewhere and then link to the image here for us to see what you did. Or you could simply write everything down here.

EDIT: My guess would be that you didn't define walkable areas maybe? Without those, the character can't walk/move. And conidering point 4, are you sure you used the right number of the room object? Because those start with 0, so the first object in the room is object "0"!!!

Roger Dodger

Thanks for the advice.

When I checked again, I found a couple of things;

The apparent problem was caused by a mistake I had made in the inventory - the player already had the object in the inventory and also I was not being accurate enough with the mouse pointer when I clicked on the object to try and pick it up. This created the illusion that the character was picking the object up when he wasn't.

Having straightened out these issues, things are working okay now.

I'm sure it will all come with practice. :)

SMF spam blocked by CleanTalk