playMaker

Author Topic: Find Action Usage  (Read 4671 times)

hermit purple

  • Playmaker Newbie
  • *
  • Posts: 2
Find Action Usage
« on: April 04, 2017, 05:53:07 PM »
It would be very helpful to search for usage of a Action script in all the FSM in the current scene/prefabs in project. Similar to Unity's "Find References In Scene" function.

There are plugins that are able to find object references in FSM but unfortunately nothing can look up script usage. This would save a lot of time looking for a particular action in the scene. (For example, what is fading the camera at this moment?)

Champ

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Find Action Usage
« Reply #1 on: April 04, 2017, 08:51:26 PM »
if you look up the action in the actions window there's the name of the action and a [number] to the right of it. If you right click the action and goto Find> you'll see a list organised by GameObject:FSM:State. Left clicking on any line will bring up the FSM in the Playmaker window.

You can't access this during Run mode though. To see the [numbers] I usually do a run with the actions tab closed and then look it up in editing mode.

Hope that helps.

The included screenshot has some client info intentionally blurred. got nothing to do with playmaker.

Edit: reworked phrasing to make it clearer
« Last Edit: April 04, 2017, 08:55:42 PM by Champ »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Find Action Usage
« Reply #2 on: April 05, 2017, 12:24:25 AM »
Try debug flow. Watch my video from the 7 minute mark
Or try timeline log. Playmaker -> Editor Windows -> Timeline Log

Champ

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Find Action Usage
« Reply #3 on: April 05, 2017, 10:26:08 PM »
oouh that's actually really useful for me too.

Thanks tcmeric :]

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Find Action Usage
« Reply #4 on: April 06, 2017, 12:05:18 AM »
 8)  8)  8)

Glad to hear it. Thanks for letting me know!

kavery

  • Full Member
  • ***
  • Posts: 149
Re: Find Action Usage
« Reply #5 on: May 28, 2018, 02:47:09 AM »
Yeah wow, wish I knew about enable debug flow 3 years ago. An easy thing to overlook, bumping for the betterment of playmaker debugging everywhere.