Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Best on Fri 01/08/2003 12:50:44

Title: Problem with picking up an object
Post by: Best on Fri 01/08/2003 12:50:44
I have a problem in my game. Ive been writing a script looking like this:

//MoveCharacterToObject (JACK, 2)
//ObjectOff (2)
//AddInventory (3)

In game it looks like this:
I move my character next to the object, but when I want him to pick it up, it just freeze and the game shows me the watches pointer. I can move it, but the main menu panel is inactive and I cannot do nothing. My character jut make a move like he is walking, but he is not moving from the place he is standing at. Thats all, can U help me please?
Title: Re:Problem with picking up an object
Post by: Pet Terry on Fri 01/08/2003 15:55:53
Hmm... maybe you could try MoveCharacterBlocking-function instead than MoveCharacterToObject?
Title: Re:Problem with picking up an object
Post by: TerranRich on Fri 01/08/2003 16:12:30
Dude, don't post this is more than one forum. This is already in the Beginners' Forum. Now please don't break the forum rules. If you haven't read them, read them now.

http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=7610

Go here, everybody.
Title: Re:Problem with picking up an object
Post by: Best on Fri 01/08/2003 17:31:35
Ok I was just thinking, that if they didnt help me there, mebbe they could help me here. ???

Thanks Petteri, Ill try that.
Title: Re:Problem with picking up an object
Post by: Synthetique on Fri 01/08/2003 18:41:37
please dont do that.. dont think