Remove Reward Button After Using And Reset It

Discussion in 'Buildbox General Discussion' started by mohamed awad, Mar 25, 2020.

  1. mohamed awad

    mohamed awad Boxer

    Joined:
    Mar 10, 2019
    Messages:
    57
    Likes Received:
    12
    JavaScript Lords, Come Here
    I'm using revive button ( restart checkpoint ) as control button on my game,
    i want to remove it after using one time and reset when start world again,
    So,
    i have created 2 game over ui, one with revive button and anther without,
    added signal on control button node triggered every time i pressed on revive button,
    and this signal received on character nodes as switch two options RE and REE
    as shown on this image
    and if character defeated ST will be true
    so if ST and RE true, then Game Over upload ( on Event Node )
    if ST and REE true, then Menu Jump Upload ( the second game over ui )
    i saved RE and REE on variable z

    the issue is nothing happened, always getting Menu Jump uploaded......

    so what is the problem on this code ?
    how can i defined, save and switch boolean variables by switch node ?
    receive signal node is work fine and from line 23 on script node too
    or how can i do this method anyway ?
    Untitledd.png
     
  2. mohamed awad

    mohamed awad Boxer

    Joined:
    Mar 10, 2019
    Messages:
    57
    Likes Received:
    12

Share This Page