playMaker

Author Topic: Array For Each (in another game object's FSM Array)?  (Read 2357 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
Array For Each (in another game object's FSM Array)?
« on: February 07, 2017, 04:52:13 PM »
Does this function exist? Arrays are amazing, but I need to be able to affect one object's fsm array from another object's fsm.

I mean, we can set another FSM's variables from afar, so why can't we run FSM's on another FSM's arrays?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array For Each (in another game object's FSM Array)?
« Reply #1 on: February 10, 2017, 02:43:40 AM »
Hi,

I would simply use GetFsmArray to get it locally and then iterate.

Bye,

 Jean