Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MatiasHarder on August 25, 2017, 11:45:10 AM

Title: Help. Stop the player like PAUSE [SOLVED]
Post by: MatiasHarder on August 25, 2017, 11:45:10 AM
Hello I would like to know of some action fsm so that when you press the letter R the player cannot moves.

Example:
I press the letter R (get key down) and the player stays still, then I again press the letter R and the player can continue to move.

This is a 2d RPG style game.
Title: Re: Help. Stop the player like PAUSE
Post by: tcmeric on August 25, 2017, 12:00:01 PM
Try the action "Set Timescale". Set it to 0 (which means no time). When you want unpause, set it back to 1.
Title: Re: Help. Stop the player like PAUSE
Post by: djaydino on August 25, 2017, 01:25:44 PM
Hi,
just an extra mention.

Action that have 'Real Time' Checked will not stop when timescale is set to 0
so you might need to turn them off
Title: Re: Help. Stop the player like PAUSE
Post by: MatiasHarder on October 17, 2017, 11:09:28 AM
thank you very much :D