Rewarded ad not giving reward after

idk how to explain it but the video works but not give reward after help me fix the issue please!


The issue lies with this event:

If the conditions are met, then the variable “wait_” is set to true. The next game frame those same conditions are no longer met (“wait_” is no longer false) and so the subevents are no longer being processed.

so i must to set the “wait_” on is to true other the sub event also???

Ideally you should use a FSM to keep track of what state the reward is at. It’s as simple as adding another variable to the scene, say called “reward_state”, and set it to “ready”.

In your events:

  • Replace the conditions "Variable wait_ is false " to “Variable reward_state = 'ready'
  • Replace the conditions "Variable wait_ is true " to “Variable reward_state = 'waiting'
  • Replace the action “Change the variable wait_ : set to true” to “Change the variable reward_state: set to 'waiting'
  • Replace the action “Change the variable wait_ : set to false” to “Change the variable reward_state: set to 'ready'
  • Move the reward events to the left 2 levels (as has been done to the red box in the snip below)
  • Move the conditions in the green box as shown below:

Thanks! I done fixed it in another way and also removed the did the user gotten the reward