iAP attribute not saving.

GuaveMediaGuaveMedia Member, PRO Posts: 1,262
edited September 2012 in Working with GS (Mac)
Hey,

I just tried my iAP rules with an AdHoc. I don't use a error, success or failure scene. In my "buy rule"
I also put a save attribute rule. But the game doesn't save the attribute. I spelled the key correctly.
Here's my rule:

when touch is pressed
->iAP
-> save attribute

Thanks for the help :) I am kinda stucked right now and don't know what to do.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Have you tried putting the save attribute in a timer?
    So maybe create a Boolean self attribute with you iAP.
    When you touch, change the attribute on the IAP, then change that Boolean to true.

    Then in another rule:
    When that boolean is true
    Save attribute

    Or:

    Then in another rule:
    When that boolean is true
    Timer: after 0.2 seconds
    Save attribute

    Hope this helps - if not let me know, I'll work out a quick template for you
  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    I will try that =)

    thank you
  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    @ Braydon_SFX

    The timer worked :) Thank you!
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Glad it worked.
Sign In or Register to comment.