Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: stigma on August 10, 2019, 05:01:32 AM

Title: [Solved]Where is My Variable ?
Post by: stigma on August 10, 2019, 05:01:32 AM
Hello,
To debug my project, I need to find in which fsm is the variable x for example. Is there a tool for this?
Thank you
Title: Re: Where is My Variable ?
Post by: LeDisciple on August 10, 2019, 10:34:49 AM
Hi, First just FYI, in almost all programs, RMB is your friend.... it'll work either local, global and Events received or sent by.... Also it works only in the scene you are, not in your whole project.
Title: Re: Where is My Variable ?
Post by: stigma on August 10, 2019, 11:53:37 AM
What is RMB ???
I have 200 FSM

I want to know which fms use a given variable throughout the program
Title: Re: Where is My Variable ?
Post by: LeDisciple on August 10, 2019, 01:13:55 PM
Right Mouse Button use it over any variable or events ;)
Title: Re: Where is My Variable ?
Post by: stigma on August 10, 2019, 02:54:29 PM
it does not work. I speak well of global variable.
Title: Re: Where is My Variable ?
Post by: LeDisciple on August 10, 2019, 04:52:18 PM
Yes, you need to click on the Refresh Used Count Button in the Global Variables and you'll be able to right clic to see where they are use in that scene
Title: Re: Where is My Variable ?
Post by: stigma on August 10, 2019, 04:57:01 PM
I see that my variable is used 17 times but how to know in which FSM?
Title: Re: Where is My Variable ?
Post by: djaydino on August 10, 2019, 06:02:07 PM
Hi.
Right clicking the variable should show you the list (click on the left end where the name is) in the globals window

if you only get auto refresh option (and 2 other lines) try left clicking and right clicking again.
Title: Re: Where is My Variable ?
Post by: stigma on August 11, 2019, 10:41:47 AM
Here we are, I found it. Thank you very much for your help and your patience.