TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Using block for Self get _(attribute) _ from behaviour ( working On S3.4, iOS)
Pages:
1
Using block for Self get _(attribute) _ from behaviour ( working On S3.4, iOS)
ggbboo
Posts: 65
December 08, 2015, 08:03:06 am
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
December 08, 2015, 09:14:02 am
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
December 08, 2015, 04:23:29 pm
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
December 09, 2015, 08:42:18 pm
still no luck
stefan
Posts: 2263
December 11, 2015, 02:08:40 am
You probably have another behavior that sets it back to true again.
Pages:
1