I'm trying to get my character to walk to a hotspot, then perform an action. Instead, the action is performed before the character arrives. For example, I may want him to walk to a door, then go to another room. He just goes to another room. I'm running AGS 3.0.1. I'm saying this because it didn't seem to be a problem runnign older versions.
Quote from: red runner on Mon 09/06/2008 21:57:04For example, I may want him to walk to a door, then go to another room. He just goes to another room.
In this case you can just set a walk-to point for the door.
If you're scripting it nevertheless, use the blocking-function: Character.Walk(x,y, eBlock);, so the script will wait until the move is finished..
Thanks, I didn't see the walk-to coordinates. The code might come in useful.