playMaker

Author Topic: what method does everyone use instead of “list” in Playmaker?  (Read 940 times)

kingssman

  • Playmaker Newbie
  • *
  • Posts: 8
I heard that the use of "list" is not possible in Playmaker. Is there a way to freely add or remove objects in "array" like in "list"? What method do you all use when you want to freely add or remove objects from an array?

cel

  • Full Member
  • ***
  • Posts: 132
Re: what method does everyone use instead of “list” in Playmaker?
« Reply #1 on: October 06, 2023, 03:45:22 AM »
you have arrays in playmaker, you can define what type they are (bool, gameobjects...), check the variables tab in playmaker and you also have actions to add/ remove to the array at a specific index...

kingssman

  • Playmaker Newbie
  • *
  • Posts: 8
Re: what method does everyone use instead of “list” in Playmaker?
« Reply #2 on: October 06, 2023, 05:21:30 AM »
Is the equivalent of "list" in C# possible?
For example, can item slots be further expanded or collapsed, and can the total number in the list be automatically adjusted?

cel

  • Full Member
  • ***
  • Posts: 132
Re: what method does everyone use instead of “list” in Playmaker?
« Reply #3 on: October 06, 2023, 05:47:42 AM »
not sure if it is equivalent to the list in c#,  this playmaker array is 1 dimensional   but you can definitely resize the array at runtime, add/ remove/ replace items/ slots to it... not sure this qualifies as what you described in your reply

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: what method does everyone use instead of “list” in Playmaker?
« Reply #4 on: October 06, 2023, 06:07:35 AM »
Hi.
On the Ecosystem you can find Array Maker

This actually uses Lists and also has Hash tables.
They are also easier to access on other objects.

Here is a tut video for array maker :


kingssman

  • Playmaker Newbie
  • *
  • Posts: 8
Re: what method does everyone use instead of “list” in Playmaker?
« Reply #5 on: October 06, 2023, 07:29:51 AM »
thank you! Let’s study about Array Maker.