Using block for Self get _(attribute) _ from behaviour ( working On S3.4, iOS)

ggbboo

  • Posts: 65
Is there a know issue of not being able to set Global Attributes to FALSE when inside this block?
I have tested several global variables  that  in other blocks turn off fine and here they cannot set to False.
(after confirming - by for example playing a sound-  that we indeed get the right message)

Thanks

stefan

  • *
  • Posts: 2263
Why are you using the for Self get _(attribute) _ from behavior block for that?

for setting Global attributes (the purple ones), you can just use the purple setters under Game Attributes.

ggbboo

  • Posts: 65
Thanks for your prompt answer. I think I didn't explain  myself well. Yes, I know and I use the Set ___ global variable for that.
Here is a shot of the block. Autosnap is a code behavior.  As test that confirms we're getting the signal out of the get block, The sound gets activated, however the global variable snap2 remains True

ggbboo

  • Posts: 65

stefan

  • *
  • Posts: 2263
You probably have another behavior that sets it back to true again.