Playmaker Forum

Playmaker News => Work In Progress... => Topic started by: kentcheung2000 on December 15, 2018, 03:07:37 PM

Title: Set FSM Variable to Array type
Post by: kentcheung2000 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

Title: Re: Set FSM Variable to Array type
Post by: jeanfabre 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