Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

iAP appreciated

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

I wanna use iAP in my next game. So I set all up like in the GS cookbook. I have a recognizing
attribute which simply gets set to true when the item is bought. But when I use iAP and then decide
to cancel and not to buy, the attribute although get's set to true...Is there a way to make this attribute
related to the iAP..?



  • GuaveMediaGuaveMedia Posts: 1,262Member, PRO
    Nobody an idea? :/

  • gurechangurechan Posts: 211Member, PRO
    Where are you sending the user if they cancel? Be sure to send them to a screen that doesn't contain the rule to set the attribute to true. Ideally you would send them to a specific "cancelled" screen with some message prompting them to return to menu or something.
  • GuaveMediaGuaveMedia Posts: 1,262Member, PRO
    edited September 2012
    Thank you :) I am sending him to no screen right now because I wanna avoid a new scene being loaded, but it seems I have to xD

    Still one problem.

    My rule:
    touch is pressed and coins > 80
    bought to true


    change bought to true into the iAP rule

    Since I can't put "bought to true" into it, I always get's set true, even if canceled. How can I change that or what ways can I go?

    thx @gurechan

  • gurechangurechan Posts: 211Member, PRO
    How are coins collected/earned? Can they only be purchased via iAP?

    Basically, if you have an attribute "bought" then this should only be triggered/set via the successful purchase through iAP. This would be the "success" screen you set in the iAP action, and not via any other rule.
This discussion has been closed.