playMaker

Author Topic: have script with global variable array. how to access inside an FSM?  (Read 1043 times)

troynall

  • Playmaker Newbie
  • *
  • Posts: 1
 :'(//------ newbie question begins
have script(inside a unity game object named "spawner" ) spawner populates a global
array, itemsThatARESpawning[]. 

how do I access and transverse the array from a playmaker FSM?

//----- newbie question ends

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: have script with global variable array. how to access inside an FSM?
« Reply #1 on: April 29, 2022, 10:06:14 AM »
Hi.
if this is from a 3rd party asset.
if you have a little c# knowledge you can make a custom action
(here's a link to the PlayMaker API
or
You can ask the author to add playmaker support.
or
You can try using the Get Property Action to get the data.