wait until a character walks to a position before changing rooms.

Started by fire7side, Thu 04/09/2025 04:42:58

Previous topic - Next topic

fire7side

I've tried this:
~~~
  player.Walk(45, 270);
  Wait(50);
 player.ChangeRoom(5);

It works depending on the distance the player has to walk.  Is there some way of waiting until he reaches the position?

Gilbert




fire7side

Thanks, you guys.  The block worked fine but I'll check out the modules if there is a problem.

Khris

Using a blocking walk will work fine in technical terms; allowing the player to abort the action that takes control away from them is just good game design.

SMF spam blocked by CleanTalk