Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: araji on February 10, 2019, 10:00:20 AM
-
Hi , there I'm Jeremy.
FUN88 (http://jeremysoccer365.over-blog.com/2019/02/-6.html)
How can I Specify/Set a Variable from another state?
I want to Set the Array Set Variable on state 13 From State c1
Please see the image for reference.
Thank in advance.
(https://hutonggames.com/playmakerforum/index.php?action=dlattach;topic=19875.0;attach=13616;image)
-
Hi.
The image is to small to see clearly, so sorry if i misunderstood your question :)
You cant change a variable itself.
But you can set the value of a variable.
With an array you could use a variable on state 13 and call it for example Target Array.
Then on state c1 use "Array Transfer Value" and 'copy' the array on the c1.