Setting a walkto point for objects

Started by , Tue 02/12/2003 01:04:14

Previous topic - Next topic

Andrew

How do you make a character walk to an item before picking it up?

Quintaros

Use a MoveCharacter command to specify the coordinates.

Timosity

#2
you can also either set a hotspot walk to point, or a MoveCharacterToObject, or MoveCharacterToHotspot (you need to set the walk to point for this one)

if you use MoveCharacter you will need to have a wait command before you do anything else

eg.

MoveCharacter(EGO,150,100);
while (character[EGO].walking) Wait(1);

Have a look at these commands in the help file that comes with AGS, this will help you with every command.

hope it helps

~Tim

SMF spam blocked by CleanTalk