playMaker

Author Topic: Stop all scripts with a single action  (Read 1423 times)

jhoffman

  • Playmaker Newbie
  • *
  • Posts: 2
Stop all scripts with a single action
« on: August 26, 2016, 01:47:58 PM »
Hello everyone,
Just looking for an action that would stop all FSMs along with scripts done outside of playmaker when its triggered. What action would do this or does it require a custom action? What would be needed in the custom action? Thanks in advance.

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Stop all scripts with a single action
« Reply #1 on: August 26, 2016, 08:25:20 PM »
I don't know of any that would do that- to stop all Fsm's- include a global transition/event on every state machine that moves the fsm into blank state-

For scripts- you would need to write a custom action/s that would  set the "enable" variable to true/false on the script/s
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!