Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: jeanfabre on April 17, 2011, 09:58:10 AM
-
Hi,
I am not sure I understand how CompoundArray works. You can find an example of its usage here:
https://hutonggames.fogbugz.com/default.asp?W442
I want to have several fields or different types, not just two. it seems that it is harcoded to two. Is that the case?
bye,
Jean
-
Right now it's just 2, but we're looking into supporting custom types in the action editor (so you could group parameters together, then make an array of that custom type). This will be more flexible than compound array...
-
Hi,
Recently I came across the problems of CustomType and Compound Array. Is there a way out now?
-
Hi,
right now you have a propertydrawer system in place inside PlayMaker, I haven;t played yet with it but it's likely the way to go to provide complex interfaces coupled with compound arrays.
Let me know how it goes, if you can;t make it happen, I'll do a quick sample, as I also want to see how it works... :)
Bye,
Jean
-
Hi! Jean,
I'm not a programmer, my action is modified from the official ones. And the language in which I write my own action is based on everything I learned from reading the existing actions. So without your sample, I really have no idea how the Drawer is used. :P Please don't count on me. :)
-
I haven't yet messed with drawers neither :)
Bye,
Jean
-
Bump. How can I do that? Or Is It possible?
I'm trying to add "store rotation" as a new field to this action.
https://hutonggames.com/playmakerforum/index.php?topic=9274.0
For something like this I need:
[CompoundArray("Variables", "GameObject", "Store Position","Store Rotation"))]
I also checked this thread:
https://hutonggames.com/playmakerforum/index.php?topic=3979.0
-
Hi.
@ Meka Games
A compound array can hold only 2 array's
But what you could do is use 3 array variables
-
Hi.
@ Meka Games
A compound array can hold only 2 array's
Is there any way to do this?
-
Hi.
You can use 3 fsmArray maybe