playMaker

Author Topic: SetFSMVariable works only once!?  (Read 895 times)

KhashayarJan

  • Playmaker Newbie
  • *
  • Posts: 1
SetFSMVariable works only once!?
« on: May 14, 2020, 03:35:46 AM »
I press space, to do the following actions.
I create object from prefab.
I set multiple variables using multiple SetFSMVariable.
Everything works.

I do this again. press space, object gets created, SetFSMVariable action runs, yet no variables values are set anymore.
It works only for the first object.

As I searched, saw this bug existed since 2016!
https://hutonggames.com/playmakerforum/index.php?topic=13152.msg61343#msg61343

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: SetFSMVariable works only once!?
« Reply #1 on: May 15, 2020, 02:13:44 AM »
Hi.
I cant test right now, but instead of using 'set fsm variable', you can use 'set fsm int/float/string/etc' if the variable type is available.