playMaker

Author Topic: How to Specify a Variable from another state  (Read 998 times)

araji

  • Playmaker Newbie
  • *
  • Posts: 1
How to Specify a Variable from another state
« on: February 10, 2019, 10:00:20 AM »
Hi , there I'm Jeremy.
FUN88
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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: How to Specify a Variable from another state
« Reply #1 on: February 10, 2019, 11:42:21 AM »
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.