playMaker

Author Topic: How to use custom action "get components"  (Read 269 times)

gssev

  • Playmaker Newbie
  • *
  • Posts: 2
How to use custom action "get components"
« on: February 15, 2024, 11:36:13 AM »
The custom action " get components" referenced here : https://hutonggames.com/playmakerforum/index.php?topic=23125.0
Gets all components of the type you want and makes an array. I want to use this array to set the components on another game object but I cant get it to do that. I tried getting each indexed array item to a variable and using that in add component.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How to use custom action "get components"
« Reply #1 on: February 16, 2024, 01:04:45 PM »
Hi, you can't move components to other object @ runtime.