playMaker

Author Topic: ArrayMaker: Getting a component's variables  (Read 2127 times)

Katori

  • Playmaker Newbie
  • *
  • Posts: 6
ArrayMaker: Getting a component's variables
« on: March 19, 2012, 04: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?
« Last Edit: March 19, 2012, 04:52:34 PM by Katori »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker: Getting a component's variables
« Reply #1 on: March 20, 2012, 01:10:23 AM »
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