Playmaker Forum

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

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

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