playMaker

Author Topic: GET FSM Variable [SOLVED]  (Read 109 times)

miguelfanclub

  • Playmaker Newbie
  • *
  • Posts: 34
    • View Profile
GET FSM Variable [SOLVED]
« on: September 22, 2017, 05:20:44 AM »
Just to be sure:

Im not using global variables at all, so in order to use a variable value in another FSM I always get its value and store it in another local variable.

Question is: Can this local variable where im storing the variable that i get from another FSM have the very same name?

Like im getting a variable called "Answered" from FSM A and im storing it on a variable called "Answered" in the FSM B. Both of them locals of their own  respective FSMs

Thanks
« Last Edit: September 22, 2017, 11:57:35 AM by miguelfanclub »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2288
    • View Profile
    • jinxtergames
Re: GET FSM Variable
« Reply #1 on: September 22, 2017, 10:46:05 AM »
Hi,
I think that should be fine.

miguelfanclub

  • Playmaker Newbie
  • *
  • Posts: 34
    • View Profile
Re: GET FSM Variable
« Reply #2 on: September 22, 2017, 11:57:06 AM »
OK, because im getting weird errors stuff in the editor log (no errors while running)
as well as weird behaing that SHOULD work, so I wanted to discard this.

Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2288
    • View Profile
    • jinxtergames
Re: GET FSM Variable [SOLVED]
« Reply #3 on: September 22, 2017, 06:09:19 PM »
What errors are you getting?