playMaker

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

Katori

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14014
  • Official Playmaker Support
    • View Profile
Re: ArrayMaker: Getting a component's variables
« Reply #1 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