playMaker

Author Topic: Arraylist get/add all variables?  (Read 499 times)

andyandyandy

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Arraylist get/add all variables?
« on: March 16, 2021, 02:53:26 AM »
Is there a action that lets me add all say float variables into a array/arraylist from a gameobject (owner)?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Arraylist get/add all variables?
« Reply #1 on: March 17, 2021, 10:47:31 AM »
Hi.
There is no action for this directly.

So i made this one(see attachment below) , it will get the values into an array.
but if the fsm has float values you don't need it will still get those.
Also you wont know which values came from what variable.

if you have multiple fsms you need to get them separate and merge the arrays