playMaker

Author Topic: How to specify a particular object type with [ArrayEditor(VariableType.Object]  (Read 1263 times)

ChrisFishFern

  • Playmaker Newbie
  • *
  • Posts: 5
Hi Everyone,

I was wondering if there was a particular way to specify a given object type when declaring an FsmArray variable in a custom action. I'm wondering if there is something similar to how you can designate a particular 'Object Type' for Object variables and arrays in the PlayMaker UI.

In particular, I'd love it if someone could provide some insight into how to specify custom defined variables, as I need to store an FsmArray of a custom declared variable type. I've successfully defined the variable, and can see it working in the variable UI (and can make an array of this type too), however I just can't seem to use it in custom actions, as I can't get the code and editor to accept the custom variable type as the ArrayEditor(VariableType).

Any help is greatly appreciated!

Cheers,
Chris