playMaker

Author Topic: Help. Stop the player like PAUSE [SOLVED]  (Read 143 times)

MatiasHarder

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
Help. Stop the player like PAUSE [SOLVED]
« on: August 25, 2017, 08: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.
« Last Edit: October 17, 2017, 08:14:13 AM by djaydino »

tcmeric

  • Sr. Member
  • ****
  • Posts: 480
    • View Profile
Re: Help. Stop the player like PAUSE
« Reply #1 on: August 25, 2017, 09:00:01 AM »
Try the action "Set Timescale". Set it to 0 (which means no time). When you want unpause, set it back to 1.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Help. Stop the player like PAUSE
« Reply #2 on: August 25, 2017, 10:25:44 AM »
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

MatiasHarder

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
Re: Help. Stop the player like PAUSE
« Reply #3 on: October 17, 2017, 08:09:28 AM »
thank you very much :D