playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
CompoundArray for more elements?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: CompoundArray for more elements? (Read 4856 times)
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
CompoundArray for more elements?
«
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
Logged
Alex Chouls
Administrator
Hero Member
Posts: 4003
Official Playmaker Support
Re: CompoundArray for more elements?
«
Reply #1 on:
April 17, 2011, 10:40:43 AM »
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...
Logged
human890209
Junior Playmaker
Posts: 62
Re: CompoundArray for more elements?
«
Reply #2 on:
September 15, 2017, 04:49:15 AM »
Hi,
Recently I came across the problems of CustomType and Compound Array. Is there a way out now?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: CompoundArray for more elements?
«
Reply #3 on:
September 18, 2017, 02:25:06 AM »
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
Logged
human890209
Junior Playmaker
Posts: 62
Re: CompoundArray for more elements?
«
Reply #4 on:
September 21, 2017, 09:53:38 PM »
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.
Please don't count on me.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: CompoundArray for more elements?
«
Reply #5 on:
September 26, 2017, 04:25:50 AM »
I haven't yet messed with drawers neither
Bye,
Jean
Logged
Meka Games
Junior Playmaker
Posts: 61
Re: CompoundArray for more elements?
«
Reply #6 on:
November 10, 2021, 06:21:37 PM »
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
«
Last Edit: November 10, 2021, 06:32:29 PM by Meka Games
»
Logged
djaydino
Administrator
Hero Member
Posts: 7624
Re: CompoundArray for more elements?
«
Reply #7 on:
November 11, 2021, 08:50:13 PM »
Hi.
@ Meka Games
A compound array can hold only 2 array's
But what you could do is use 3 array variables
Logged
Join the PlayMaker Discord Channel!
Meka Games
Junior Playmaker
Posts: 61
Re: CompoundArray for more elements?
«
Reply #8 on:
November 12, 2021, 05:20:58 AM »
Quote from: djaydino on November 11, 2021, 08:50:13 PM
Hi.
@ Meka Games
A compound array can hold only 2 array's
Is there any way to do this?
Logged
djaydino
Administrator
Hero Member
Posts: 7624
Re: CompoundArray for more elements?
«
Reply #9 on:
November 16, 2021, 08:51:26 PM »
Hi.
You can use 3 fsmArray maybe
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
CompoundArray for more elements?