playMaker

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

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
Set FSM Variable to Array type
« on: December 15, 2018, 03: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: 13889
  • Official Playmaker Support
    • View Profile
Re: Set FSM Variable to Array type
« Reply #1 on: December 16, 2018, 11:34:03 PM »
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