playMaker

Author Topic: [Solved]Where is My Variable ?  (Read 2493 times)

stigma

  • Full Member
  • ***
  • Posts: 179
[Solved]Where is My Variable ?
« 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
« Last Edit: August 11, 2019, 10:42:12 AM by stigma »

LeDisciple

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Where is My Variable ?
« Reply #1 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.
« Last Edit: August 10, 2019, 10:36:38 AM by LeDisciple »

stigma

  • Full Member
  • ***
  • Posts: 179
Re: Where is My Variable ?
« Reply #2 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
« Last Edit: August 10, 2019, 11:55:33 AM by stigma »

LeDisciple

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Where is My Variable ?
« Reply #3 on: August 10, 2019, 01:13:55 PM »
Right Mouse Button use it over any variable or events ;)
« Last Edit: August 10, 2019, 01:15:35 PM by LeDisciple »

stigma

  • Full Member
  • ***
  • Posts: 179
Re: Where is My Variable ?
« Reply #4 on: August 10, 2019, 02:54:29 PM »
it does not work. I speak well of global variable.

LeDisciple

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Where is My Variable ?
« Reply #5 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

stigma

  • Full Member
  • ***
  • Posts: 179
Re: Where is My Variable ?
« Reply #6 on: August 10, 2019, 04:57:01 PM »
I see that my variable is used 17 times but how to know in which FSM?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Where is My Variable ?
« Reply #7 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.

stigma

  • Full Member
  • ***
  • Posts: 179
Re: Where is My Variable ?
« Reply #8 on: August 11, 2019, 10:41:47 AM »
Here we are, I found it. Thank you very much for your help and your patience.