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"

Level not reading data?

So, I have made a variable that is a float called Number. This number has a default value of 0. The player has collected 20 objects and the number gets set to 20. Then, it will transfer you to a win level. However, in the Win Level, the value of the Number Variable is 0. How do I transfer the data to the other level from the Numbers Variable? Help is appreciated! Thanks!

Product Version: UE 4.20
Tags:
more ▼

asked Nov 18 '18 at 07:12 PM in Blueprint Scripting

avatar image

CODE REDBALLG
115 3 7 17

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

1 answer: sort voted first

You can store this kind of data in classes that persist across levels. So for example in a player state class or game instance.

more ▼

answered Nov 18 '18 at 10:35 PM

avatar image

BreakMaker
237 4 11 17

avatar image CODE REDBALLG Nov 19 '18 at 12:13 AM

Can you show me how to do it with a game instance? Thanks!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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