Walking to a position before dialog starts

Started by LinkMaestro, Tue 03/06/2008 19:53:12

Previous topic - Next topic

LinkMaestro

I want my character to move to a certain position when the player clicks the 'look' icon on an object before the discription of the object starts.  Right now the dialog starts, THEN the character walks.

Gepard

Have you tried putting the dialog request function ont the beginning of the dialog?
Drink up me 'arties! Yo ho!

LinkMaestro

function hHotspot2_Look()
{
player.Walk (135,127);
Display(" Beyond the walls of the cell, you can see a hallway equally as filthy as the room you're in.  The rest of the ship, you know, is no better.");
}


that's what I have...

Khris

Try a blocking walk.
Code: ags
  player.Walk(135, 127, eBlock);


.Walk is non-blocking by default.

LinkMaestro

Ah, there it is. I had tried that before, but I didn't put a  ' , ' after the second coordinate.  Thanks much!

SMF spam blocked by CleanTalk