playMaker

Author Topic: Is there an alternative action to GetType()?  (Read 634 times)

playmakertester

  • Full Member
  • ***
  • Posts: 211
Is there an alternative action to GetType()?
« on: March 26, 2021, 08:16:50 AM »
I would like to determine the type of a particular object, and would like to know if there is a function in Playmaker that will determine the variable that will turn into GetType().

I've checked the ecosystem and past articles, but there doesn't seem to be one.

Weak Interactive

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 33
Re: Is there an alternative action to GetType()?
« Reply #1 on: March 26, 2021, 01:59:50 PM »
Hey,

I'm not sure if this is what you're looking for, because I'm not even sure what GetType is haha, but Arraymaker has an "Array List Get Type" action. The description is "Gets the type at index from a PlayMaker ArrayList Proxy component."

So if that's the function you're looking for, you could add the object to an ArrayList Proxy and run that action.