x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Reset TEXT widget on BUTTON pressed

How do you Reset Integer (COIN BANK) stored inside Game Instance. It only restores fully when game exits. 
I need to reset back to (0) after you die. When you die it goes back to main main widget. I got two other widget on top of the main menu. One is Highest Level Completed it and another Coins Collected. Both are TEXT widgets set to 00 at the beginning of the game. What I need to see happen is to when you die and go back to main menu and press PLAY I need the coin and level TEXT widgets to reset back to (00). They are not resting at the moment because both widgets are connected trough game instance trough COIN BANK integer. In the picture below I can actually get Coin widgets TEXT nodes but to what do I connected and how. Here is the picture of those nodes. Also do i connected before or after OPEN LEVEL node on Button Pressed. Thank You. alt text

Product Version: UE 4.12
Tags:
more ▼

asked Jan 17 '17 at 03:56 PM in Using UE4

avatar image

silverfish1000
124 11 22 27

avatar image silverfish1000 Jan 17 '17 at 03:56 PM

How do you Reset Integer (COIN BANK) stored inside Game Instance. It only restores fully when game exits. I need to reset back to (0) after you die. When you die it goes back to main main widget. I got two other widget on top of the main menu. One is Highest Level Completed it and another Coins Collected. Both are TEXT widgets set to 00 at the beginning of the game. What I need to see happen is to when you die and go back to main menu and press PLAY I need the coin and level TEXT widgets to reset back to (00). They are not resting at the moment because both widgets are connected trough game instance trough COIN BANK integer. In the picture below I can actually get Coin widgets TEXT nodes but to what do I connected and how. Here is the picture of those nodes. Also do i connected before or after OPEN LEVEL node on Button Pressed. Thank You.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question