create a game.ads atribbute then make a non-consumable inApp change the game.ads atribbute value. just it. your GS account is Pro? this behavior is pro only
I'm sorry maybe i'm not explaining right i think. I iads display in each scene. But i also have an inapp called bonus content. when you purchase bonus content it gives you an extra stage and i want the i ads to be turned off. the rules you gave me i put them it and it doesn't really work
I want iads turned off completely for each scene when they purchase the bonus content. it's like they get an extra stage and no iads appear in each scene.
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
Yeah I think you are simply not implementing it right. First make sure you only have one iAd behavior in the entire scene. Then put that behavior in a rule that says
When game.noads = false --show iAd
Then you need to make an IAP behavior that is non consumable and sets game.noads to true.
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
and make it an attribute is a little difficult for the game to relate is to iads
Create an actor for your ads
Create a rule inside that actor, If Attribute No Ads is False
Display Ads
Otherwise: Do Nothing or Destroy Actor
Hope this helps
Need Help? Email Me | Templates | Full Game Source Code
Need Help? Email Me | Templates | Full Game Source Code
www.marcosriffel.com
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
www.appdore.com || appdore twitter || appdore facebook
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
When game.noads = false
--show iAd
Then you need to make an IAP behavior that is non consumable and sets game.noads to true.
Start by deleting all related rules so we make sure you dont have any bad rules messing it all up.
--------------------------------------------------
1. Create a new game.attribute integer called "No ads" by default it is set to 0. leave it like that.
--------------------------------------------------
2. Go to your "iads display actor"
Create a new rule
If game.no ads = 0
Now put in your iads behavior here
And make sure to put the actor in the scene.
The logic is that as long as "game.no ads = 0 it will always show your iads.
meaning, if you change it to 1 it wil NOT show ads.
---------------------------------------------------
3. Go to your in-app button.
When touch is pressed
Then you have 3 options
Pick success - under succes you put in a "change attribute" behavior saying
Change.attribute.game.no ads = 1
---------------------------------------------------
After going over this you should be able to make it work.
I dont think it can be explained in more detail then this.
If you still have trouble, then I would recommend you going through the cookbook and brush up on some generel knowledge
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS