How Do I Disable Event Observers?

Discussion in 'How Can I...?' started by BoxBoyZBradley, May 18, 2020.

  1. BoxBoyZBradley

    BoxBoyZBradley Boxer

    Joined:
    May 4, 2020
    Messages:
    6
    Likes Received:
    0
    I setup an event observer in my main menu to redirect to a UI which will reward player with some coins. Its set to Total Points / Session Total 100. However it always loops back to this page every time I land on the main menu. How do I set the Event Observer to do redirect only one time and disappear?
     
  2. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    You do not have to use event observer
    you can use object to do this method with Settings data if you want to use it just one time
     
    Sean Buildbox likes this.
  3. BoxBoyZBradley

    BoxBoyZBradley Boxer

    Joined:
    May 4, 2020
    Messages:
    6
    Likes Received:
    0
    @mohamed awad Hey man, how exactly do I do that? Or could you start me off in that direction?
     
  4. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    on menu ui
    add new object, open nodes editor for this object,
    add script node
    the total point var is
    totalGlobalPoints()
    or totalPoints()
    and code it! or use nodes
     
  5. BoxBoyZBradley

    BoxBoyZBradley Boxer

    Joined:
    May 4, 2020
    Messages:
    6
    Likes Received:
    0
    That was very helpful. Thank you!
     
  6. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    YW.
     

Share This Page