Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Wogoat on Wed 10/12/2003 22:41:18

Title: Moving objects not limited to walkable area?
Post by: Wogoat on Wed 10/12/2003 22:41:18
I'm probably overlooking an obvious solution but I have to run to work and can't spend any more time pondering this today.

I've got a situation set up where an action causes a chain of events of objects to move.  (a ball hits something which falls and eventually causes another object to move etc.)

BUT, I can't get it to work unless I make the whole of thier paths walkable.  Which obviously causes problems because the player character can walk through all that.  Which means he's walking in the air.

Is there any way to have to objects move but not be limited only to the walking space?  Or to establish different walking space for the objects that the player is not allowed to walk thorugh?

Thanks for the help.
Title: Re:Moving objects not limited to walkable area?
Post by: on Wed 10/12/2003 23:16:24
use

MoveObjectDirect

That should solve your problem

~Tim
Title: Re:Moving objects not limited to walkable area?
Post by: Wogoat on Thu 11/12/2003 00:04:04
Ah yes, I'm always leery of using scripting even though it's always the solution to whatever problem I'm facing.

I'm just always forgetting those blasted semicolons

Thanks.