mysterious instance variable behavior ..

0 favourites
  • 4 posts
From the Asset Store
Easily store, modify, read and manipulate colors with Color Variables!
  • Hello,

    One one event sheet i set a boolean instance variable to false, just to see that in another event sheet, the value stayed true.

    I looked at all assignments in the project and there is no where else, that value could have been set to true, beside in the initialization code.

    Interestingly, when i deactivate the whole group in which the instance variable is tested, then, the test doesn't apply and things work - but deactivating a group is too brute force.

    Could this be a bug in C3.

    thank you,

    Dan

    Tagged:

  • Not sure how you can expect anyone to guess the problem here. The problem will likely be with your events though. If a variable is set to true then maybe it was never set to false but we can't see anything.

  • I will try to replicate it in a project and post it -- perhaps, i will learn something by it as well.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I couldn't replicate the problem -- i.e. a small example worked ...

    So, i looked deeper with the debugger and found that the problem is indeed elsehwere -- thank's for asking for more info.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)