Create password puzzle and transfer the password to an actor.

I want to create a puzzle where player have to click button with number on 3d widget that is shown after player interact with a safe. Then show the value in 4 digit only and transfer it to the safe BP.
Help me figure the way to do this.

  • make a widget with a button, an Instance Editable integer and Event Dispatcher
  • place buttons in another widget’s (keypad) grid, assign them desired int values
  • bind dispatchers, append digits as string or array of ints, check against correct password
  • if correct, dispatch a call to the actor that owns the widget component
1 Like

alright ill try that, TY