Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: James Kay on Sat 21/02/2004 11:42:15

Title: Object won't move
Post by: James Kay on Sat 21/02/2004 11:42:15
In one room I have an object which, when a particular inventory item is used on it, should move.
I'm using the command:
MoveObject(3, 9, 40, 5);
for this, but nothing seems to happen. The object is not "locked in this position" either.

Confused.  ???
Title: Re:Object won't move
Post by: Timosity on Sat 21/02/2004 13:35:19
Try:

MoveObjectDirect(3, 9, 40, 5);

that usually does it
Title: Re:Object won't move
Post by: James Kay on Sat 21/02/2004 14:08:44
You're right!

Cheers!  ;D