playMaker

Author Topic: Pause FSM or Pause/Disable FSM (SOLVED)  (Read 1779 times)

Stain Corb

  • Junior Playmaker
  • **
  • Posts: 74
Pause FSM or Pause/Disable FSM (SOLVED)
« on: February 02, 2022, 06:35:08 PM »
I was wondering if its posible to pause an FSM in its current state so I can then keep it runing at its current state when needed.

I have an environment system Exterior has sun (I am controlling = Rotations / Sun Color/ Environment Color)

I would like to pause this FSM when I get into a cave and reactivate at current atate when im back in the exterior world.

Disabling wont work since this recets everything.

Any thoughts ?
« Last Edit: February 03, 2022, 10:01:29 PM by Stain Corb »

Stain Corb

  • Junior Playmaker
  • **
  • Posts: 74
Re: Pause FSM or Pause/Disable FSM
« Reply #1 on: February 02, 2022, 06:40:49 PM »
Even disabling or enabling a specific script in the FSM would work, so I can have the environment colors calculationg but not sending when I am in a cave, then I can enable the "Set Ambien color" script, when Im in the outside

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Pause FSM or Pause/Disable FSM
« Reply #2 on: February 02, 2022, 09:46:32 PM »
Hi
Set the part where you calculate in a separate fsm
and use Get fsm Float/int(or other fsm actions if needed) to get it from that fsm

Stain Corb

  • Junior Playmaker
  • **
  • Posts: 74
Re: Pause FSM or Pause/Disable FSM (SOLVED)
« Reply #3 on: February 03, 2022, 10:01:10 PM »
Worked like a charme thanks for the help. really apreciate it.