playMaker

Author Topic: How to find out which FSM is enabling a gameobject  (Read 644 times)

TonyCooper

  • Playmaker Newbie
  • *
  • Posts: 6
How to find out which FSM is enabling a gameobject
« on: June 14, 2021, 05:26:08 AM »
Hello all, I have an issue where a gameobject is suddenly being enabled during gameplay that shouldn't be. I must be enabling it somewhere on some FSM but I am having trouble locating which one it is.
The gameobject itself doesn't have an FSM on it, so I was wondering if there is any debug way to find out which FSM is enabling it while the game is running?

Thanks, Tony.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to find out which FSM is enabling a gameobject
« Reply #1 on: June 14, 2021, 11:48:40 AM »
Is it turned on by global event?
Available for Playmaker work

TonyCooper

  • Playmaker Newbie
  • *
  • Posts: 6
Re: How to find out which FSM is enabling a gameobject
« Reply #2 on: June 14, 2021, 12:26:22 PM »
I think it's probably just a Set Property on the 'active' property in an FSM, but I've been through the main FSMs states that affect this asset step-by-step and haven't found which one is setting this. So, it must be a stray state somewhere that I've forgotten about.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to find out which FSM is enabling a gameobject
« Reply #3 on: June 14, 2021, 02:38:26 PM »
Well i guess the only way then is to go to action browser, find usages and dig.
Available for Playmaker work

TonyCooper

  • Playmaker Newbie
  • *
  • Posts: 6
Re: How to find out which FSM is enabling a gameobject
« Reply #4 on: June 14, 2021, 04:03:38 PM »
Damn :(  Oh well, thanks anyway, and wish me happy hunting...