Hi, I'm new to using iAds and I'm wondering if there is a way to set when interstitial ads would pop up depending on the number of deaths? Like, every 5 deaths an interstitial ad would pop up.
There are any number of ways to do this here is one. You will need to create a rule and use the Numeric Expression for the condition "When mod(your.Death.Attribute+1,5) = 4. The mod expression will count from 0 to 4 giving you a total count of five. This assumes the death count keeps going up and will activate the rule every five deaths.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Many thanks Will try it out ^_^
hmm.. Actually I'm still quite confused..
Correct me if I'm wrong but, is the only way to implement interstitial ads in GameSalad is through PlayHaven right?
This is just a rule and you put whatever actions you are using (Change Scene, Reset Scene, etc) to run ads from inside it. In the OTHERWISE section of the rule place another action with check box unchecked.
In other words if the rule condition is met the action will run with ads OTHERWISE it will run without ads. Hope this makes sense.