Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: andyandyandy on March 16, 2021, 02:53:26 AM

Title: Arraylist get/add all variables?
Post by: andyandyandy 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)?
Title: Re: Arraylist get/add all variables?
Post by: djaydino 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