Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: westingtyler on July 14, 2018, 06:01:57 AM

Title: Smartest Way to Pause Enemies When Player is in Menus?
Post by: westingtyler on July 14, 2018, 06:01:57 AM
Hello. That's my question. I know I can have the enemy fsm have an "activate" event and a "deactivate event" with nothing in it, and call them as needed.

But I also need the enemy's animation to freeze.

For example, if an enemy jumps toward you, mid-attack, and you pause the game, how do we pause that enemy mid-attack in the air, only to instantly resume upon unpause?
Title: Re: Smartest Way to Pause Enemies When Player is in Menus?
Post by: Fat Pug Studio on July 14, 2018, 07:46:22 AM
Set time scale to zero? UI doesn't depend on time as far as i know, at least i'm managing it like that and everything works fine.