SaveAttribute doesn't work ?

Hello

In my scene, i have à rule
Actor receives event -> touch is pressed
- change attribute game.UnlockLevel2 to random(10,20)
- save Attribute ->game.UnlockLevel2 KEY MemUnlockLevel2

MemUnlockLevel2 is a global attribute numeric

in the first scene i have the Behaviors
- Load attribute ->MemUnlockLevel2 ATTRIBUTE attribute game.UnlockLevel2
- Display Text attribute game.UnlockLevel2

When i test on my iPad, "Display Text attribute game.UnlockLevel2" always display the zero value

Why my attribute is not saved ?

Best regards (sorry for my english, i'm french)

Comments

Sign In or Register to comment.