Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: SeanC on January 31, 2016, 08:04:06 PM
-
Hello,
I am using the latest BETA version of PM and I am trying to use the Array actions to set an Array Variable on another GameObject. Unfortunately, none of the actions seem to support that. "FSM Array Set" seemed promising, but that seems to only allow a string to be transferred - nowhere does it ask for the Variable type.
Am I missing something? How can i set an array variable/add an array item to an array on another GameObject.
Thanks!
SeanC
-
It seems like if you want to access an array on another object you have to create an array var that is global or use Arraymaker
-
"FSM Array Set" seemed promising, but that seems to only allow a string to be transferred - nowhere does it ask for the Variable type.
I have noticed that as well. To me the action somehow looks like work in progress. The tooltip text ("Set an item in an Array Variable in another FSM") differs from what is actually done.
-
Any updates on this action?
I'm in pretty desperate need of this action to be fixed. I have multiple game objects with dynamic Arrays in the scene, so I prefer not using global array variable. And also I have only used just 1.8 array functions thus far, and would prefer not using array maker just to use this one function if it's possible.
-
Hi,
Yes, 1.8 currently is missing an attribute for us to be able to access other fsm's FsmArray variables.
I'll ping Alex on this. I guess there are technical difficulties in this specific process.
Get back to me end of this week, I think I can make an action that let's you soft link variables, you won't get any list of variables, you'll have to use a regular string.
Bye,
Jean
-
AH, thank you :]
-
Hello.
Is there any update to the action for the soft link variables you mentioned?
-
Hi,
Not yet, Let me tackle this.
Bye,
Jean
-
Hi,
It's actually coming in the beta, so this will be soon available.
Bye,
Jean
-
excellent! really need this as well! :D
-
What happened to this?
-
Hi.
You can use the "Set Fsm Array Item" (Single item on target arrya) and "Set Fsm Array" (whole array) action :)
-
Hi.
You can use the "Set Fsm Array Item" (Single item on target arrya) and "Set Fsm Array" (whole array) action :)
It doesn't work correctly for me. I used "Set Fsm Array" and it just change my variable to default value.
-
Hi.
Indeed "Set fsm Array" seems to be broken.
in playmaker 1.9.0p2
"Set Fsm Array Item" does seem to work.
I will post a bug report.
-
Hi,
I think i found the issue.
Here is an updated version you can try. (attachment below)
-
Hi,
I think i found the issue.
Here is an updated version you can try. (attachment below)
Thank you a lot it works now but what about "Get Fsm Array"? It doesn't work please fix it too.
-
Hi,
i already send a report and it will probably be fixed in the next update :)
i will see if i can make a temporary fix for you.
-
Hi,
i already send a report and it will probably be fixed in the next update :)
i will see if i can make a temporary fix for you.
Thanks a lot, I really need to finish my job soon.
-
Hi.
Here you go :)
-
Hi.
Here you go :)
(https://statesymbolsusa.org/sites/statesymbolsusa.org/files/primary-images/Rose-NationalflowerUSA.jpg)