Forum rules - please read before posting.

How to change variable between scenes and make it stable

I put in a script of one scene:
Variable Set
Source Global
Variable (bool) : PossessionClef
Statement : True

When i change scene, i have Variable: PossesionClef to false

I checked there is no component such "Remember variable" to attach to interaction

Comments

  • There should be no need.  Changing scene should have no effect on the values of global variables.  What version of AC are you using?
  • I'm using 1.49A
    You confirm: there is no need to attach a script !
  • No, there isn't.  This looks like a bug, but I cannot recreate it.

    I will need more details:
    • Are you changing scene using the standard Engine: Change scene Action?
    • Does it work if you instead go to a different scene?
    • Does it work for other variables?
    • Do you have Show realtime values? checked in your Variables Manager?
  • Sorry It's my fault ^:)^

    I did not see that i have an OnLoad Script that set variable PossessionClef to false

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.