playMaker

Author Topic: Extending PlayMaker's array functionality  (Read 1264 times)

Groo Gadgets

  • Beta Group
  • Full Member
  • *
  • Posts: 175
Extending PlayMaker's array functionality
« on: April 24, 2020, 03:32:41 AM »
Hey guys,

I used to use Array Maker exclusively until native array variables were introduced but I can't fully move away from Array Maker for one simple reason: array reference names.

All the native array actions need you to pre-define the array you want to use. Pretty sure there isn't a way to define the array you want to use at runtime. This isn't a problem using Array Maker since the reference name is a string which can be defined as a variable.

Is it possible to extend the functionality of the built-in arrays so that I can select the array I need with a string variable or something similar?

I hope that makes sense  :-)

Cheers,

Simon

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Extending PlayMaker's array functionality
« Reply #1 on: April 28, 2020, 02:33:44 AM »
Hi,

 I don't think it's likely to happen. what you could do is make a fsm per array and use get fsm variable on that fsm, so your fsm would simply be a placeholder for a single fsmarray, this way you can get to it via the fsm name.

Bye,

 Jean