How Can I Put Tasks In My Game With Event Observer?

Discussion in 'How Can I...?' started by Aquagames, Feb 27, 2018.

?

Is it possible?

  1. Yes, it is.

    40.0%
  2. No, it isn't.

    0 vote(s)
    0.0%
  3. I don't know, but I'd like to.

    60.0%
  1. Aquagames

    Aquagames Boxer

    Joined:
    Sep 10, 2017
    Messages:
    23
    Likes Received:
    2
    Hi, I'm trying my best to put tasks into my game, it didn't work the best, so I was hoping someone could tell me if it is possible in Buildbox 2.3.3 to have an event observer watching an event that could happen certen amount of times one, two or three times [as a redirect function] and do some action for example when player score 50 points for reward he gets 60 coins, but only one time when player collects 50 points again he won't be rewarded , all in game and without checkpoints because it erases current score of player?


    Thanks for helping!:)
     
    Last edited: Feb 27, 2018
  2. Danlespect

    Danlespect Avid Boxer

    Joined:
    Jan 21, 2017
    Messages:
    132
    Likes Received:
    77
    I'm not sure to understand everything, but your example is possible. ^^
     
  3. Aquagames

    Aquagames Boxer

    Joined:
    Sep 10, 2017
    Messages:
    23
    Likes Received:
    2
    Thank you for your reply. Could you please tell me how to do it?:)
     
  4. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Use an Event Observer that Redirects you when you score 50 Points to a UI that displays an Action Button that rewards 60 Coins.
    Set the Redirect to 1 and have a duplicate UI without the Reward Button that’s displayed after the Reward has been shown once.
     
  5. Aquagames

    Aquagames Boxer

    Joined:
    Sep 10, 2017
    Messages:
    23
    Likes Received:
    2
    But, it erases player score (points).
     
  6. Danlespect

    Danlespect Avid Boxer

    Joined:
    Jan 21, 2017
    Messages:
    132
    Likes Received:
    77
    It doesn't erase the best score, you can play with the best score values and event observers to make this work.

    Or you can make the reward as a Purchase Button [One Time Purchase; In Game Currency:0; Type:Action; Action Selection:60coins] that will not be showed more than one time (because of the One Time Purchase option).
     
  7. Aquagames

    Aquagames Boxer

    Joined:
    Sep 10, 2017
    Messages:
    23
    Likes Received:
    2
    O.K. thank you all. But is there a way that doesn't erase current score of player. He collects 50 points get reward and continue paying with same score and on the same spot. I know that I could set event observer to start check point and on UI restart check point, but when check point is restarted I want payer to keep current score. So if he left game with 50 points when he went for reword he comes back and continue paying from 50 points.
     
  8. Danlespect

    Danlespect Avid Boxer

    Joined:
    Jan 21, 2017
    Messages:
    132
    Likes Received:
    77
    Just put the Event Observer in the Game Over UI ;)
    (The player collects his reward after the end of the game.)
     
    AaroArts likes this.
  9. Aquagames

    Aquagames Boxer

    Joined:
    Sep 10, 2017
    Messages:
    23
    Likes Received:
    2
    Great idea!!!!! Thanks so, so, so, so, so, so, so much!!!!!!!!:):):):):)
     
  10. Danlespect

    Danlespect Avid Boxer

    Joined:
    Jan 21, 2017
    Messages:
    132
    Likes Received:
    77

Share This Page