playMaker

Author Topic: Can I create a variable to be useable between FSM?  (Read 1275 times)

Silicon Power

  • Full Member
  • ***
  • Posts: 186
Can I create a variable to be useable between FSM?
« on: March 08, 2017, 12:09:50 PM »
Hi, I can't use Global Variable but I need a variable to be useable for all my FSM, for example I have a character I need to save into a GameObject variable but I need to do this fir all my FSM separately.

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Can I create a variable to be useable between FSM?
« Reply #1 on: March 08, 2017, 11:27:40 PM »
The definition of global variable is a variable that can be used between all FSM. Any reason you cannot use it.

But if not possible, here is the solution :)

http://hutonggames.com/playmakerforum/index.php?topic=5641.0