playMaker

Author Topic: fsm compare?  (Read 1935 times)

nightcorelv

  • Playmaker Newbie
  • *
  • Posts: 27
fsm compare?
« on: December 23, 2017, 10:31:13 AM »
Hi
I am looking for an action which can compare fsm variable, yeah ofc, i can use get fsm variable and then compare it, but if i use that way so need to create a variable for it, it feel bad, because i need to create variable again and again

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: fsm compare?
« Reply #1 on: December 23, 2017, 11:47:31 AM »
If you want to compare two variables, with one in each FSM, you will need to "get fsm" as you mentioned. Even if you wrote code to not show it in the inspector, it would still actually be getting it. Two FSM is like two scripts, they need some way to communicate and a place to do it. So the variable must be fetched.

What type of variables are you trying to compare?