Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Katori on March 19, 2012, 01:21:04 PM

Title: ArrayMaker: Getting a component's variables
Post by: Katori on March 19, 2012, 01:21:04 PM
Is this possible? I need access to a Vector3 array that is in a component on my GameObject, is it possible to set the ArrayList to that array?
Title: Re: ArrayMaker: Getting a component's variables
Post by: jeanfabre on March 19, 2012, 10:10:23 PM
Hi,

 yes it is possible. If you look at the custom actions (you'll see how I communicate to the array proxy ( which is a plain scripted component). So yes you can inject data into the array or completely replace it via scripts instead of via playmaker.
custom actions for the arrayList are in "PlayMaker/Actions/Addons/ArrayMaker/ArrayList"

You'll find there all the example necessary to do your own stuff directly with the PlayMakerArrayListProxy component.

If you still difficulties with this, let me know.

 Bye,

 Jean