Jump to content


Photo

How to pause a path then resume in the same point?


  • Please log in to reply
1 reply to this topic

#1 Peter Porky

Peter Porky

    GMC Member

  • GMC Member
  • 243 posts
  • Version:GM8

Posted 20 August 2012 - 05:05 AM

I have a pause function in my game, whenever global.paused is set to true, the player cannot move, enemies cannot move, projectiles stop, etc.

However, I cannot figure out how to get objects set on a path to resume in the same point they were when the game was paused. How do I fix this?
  • 0

#2 smash ball

smash ball

    Volcanic Light

  • GMC Member
  • 1126 posts
  • Version:GM7

Posted 20 August 2012 - 07:40 PM

Save the path_position to a variable, and call the variable when starting the path back up.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users