"Enable Advertisements" in change scene
in Tech Support
I would like to ask would advertisements show up everytime that behavior is triggered? Or do they show up randomly like once per every 3 times the behavior is triggered..?
Comments
Every time, if you want the kind of random function you describe you'd have to build that yourself.
Ah I see, how can I do that?
i want to know too.
me too!
Create an attribute let's call it "randomAttribute".
Use the code below where you want to change scene:
Change attribute randomAttribute to random(0,2)
Rule: if randomAttribute = 0
change scene - advertisements enabled
otherwise
change scene - advertisements disabled
Edit:
In the version 0.11.0.13 of GameSalad, you don't need to assign the random value to an attribute. You can use numeric expression and enter the random function there.
do we have to make a loop for that random spawning?