Finishing player.Walk() before continuing rest of script

Started by Hyperbro, Tue 11/10/2011 21:13:52

Previous topic - Next topic

Hyperbro

How is this done?
I use a slightly different interface, so I need to make the player walk places myself, but the problem is that he walks and does the thing he needs to do at the same time.

pcj

Use player.Walk(x,y,eBlock);

For more information, see the Help file.
Space Quest: Vohaul Strikes Back is now available to download!

Hyperbro


Khris

That's the easy way, but you can keep the walking non-blocking (so the player can interrupt it) and the player character still does the thing only after they got there.

I wrote a module for this:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36383.msg477380#msg477380

SMF spam blocked by CleanTalk