playMaker

Author Topic: Set FSM Variable to Array type  (Read 3302 times)

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 37
Set FSM Variable to Array type
« on: December 15, 2018, 05:07:37 PM »
Hi,

I have an error when I set fsm variable to array type:
Unknown FsmArray Type: use ArrayEditorAttribute to specify a variable type.

My question is can "set fsm variable" set to type array?

KC


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15537
  • Official Playmaker Support
Re: Set FSM Variable to Array type
« Reply #1 on: December 17, 2018, 01:34:03 AM »
Hi,

 nop, you can't force the type of FsmArray at runtime.

 for this, use ArrayMaker, you can save anything in the array, you can also mix up content, you can save a string, then a int, and then a bool in the array and they will happily live together.

Bye,

 Jean