Jump to content
SPRITE CLUB DEBUTS ×
  • 0

Global variable affecting multiple states?


Question

Posted
Hello, I was just wondering if this is possible. using a varset in common1 to set a variable and having it recall that variable across multiple states.

1 answer to this question

Recommended Posts

  • 0
Posted

Of course! The common1 is no different than the regular state files other than it being loaded first. You can simply add the varset to the common1 state or override it by copy&pasting that common1 state into your own state file and then put the varset in there.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...