Event Observer Only After Game Over

Discussion in 'How Can I...?' started by lachlanf, Apr 30, 2018.

  1. lachlanf

    lachlanf Boxer

    Joined:
    Aug 7, 2017
    Messages:
    22
    Likes Received:
    6
    I am trying to use an event observer to send me to a second UI after passing a defined distance but after the game over is trigered.

    game over - (if distance is under 100) then go to UI 1
    game over - (if distance is over 100) then go to UI 2

    I've tried adding 2 event observers but that just redirects as soon as it hits 100.
    Anyone able to help me out?
     
  2. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    i think? Maybe have one event observer set 100, anything 100 and over will go to one UI, and the other event observer set to 1anything over 1 will go to other UI.
    hope that helps..
     
  3. lachlanf

    lachlanf Boxer

    Joined:
    Aug 7, 2017
    Messages:
    22
    Likes Received:
    6
    Thanks for the help.
    But unfortunately, it doesn't work it takes me to UI 1 as soon as I reach 1 :(
     
    adrogdesigns likes this.
  4. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    It doesn’t work like that if distance over 100 it take you to ui 1 and if distance is over 200 it take you to ui 2 try that
     
  5. lachlanf

    lachlanf Boxer

    Joined:
    Aug 7, 2017
    Messages:
    22
    Likes Received:
    6
    But I want it to take me to UI2 after I hit 100 AND I die. Not as soon as I reach 100.
     
  6. lachlanf

    lachlanf Boxer

    Joined:
    Aug 7, 2017
    Messages:
    22
    Likes Received:
    6
    I tried moving the event observers to a UI after the end game observer but it always goes to the lowest, even after passing other observers.
     
  7. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    Put event observer with 100 in the ui that it goes to under 100, if that makes sense
     
  8. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    You only need 1 Event Observer Set to >100 Distant on the Game Over UI, sending you to the second UI.
     
  9. lachlanf

    lachlanf Boxer

    Joined:
    Aug 7, 2017
    Messages:
    22
    Likes Received:
    6
    Thank you for your help everyone :) Got it working.
     

Share This Page