playMaker

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

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Help. Stop the player like PAUSE [SOLVED]
« 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.
« Last Edit: October 17, 2017, 11:14:13 AM by djaydino »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Help. Stop the player like PAUSE
« Reply #1 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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Help. Stop the player like PAUSE
« Reply #2 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

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Re: Help. Stop the player like PAUSE
« Reply #3 on: October 17, 2017, 11:09:28 AM »
thank you very much :D