Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 12/03/2005 17:45:43

Title: Walk to points for Objects.
Post by: on Sat 12/03/2005 17:45:43
How do you set Walk-to-points for Objects?..

So your character can walk to an object before picking it up.
Title: Re: Walk to points for Objects.
Post by: Ashen on Sat 12/03/2005 18:54:15
Depends what version you're using.
There's MoveCharacterToObject (CHARID, int object), but I think it's been obsolete-d in 2.7.

If you can't use that, you could create properties (e.g. 'WalkToX' and 'WalkToY') for each object, and use them as coordinates, or just don't enforce OO scripting.
Title: Re: Walk to points for Objects.
Post by: on Sat 12/03/2005 20:48:11
Thanks