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"

Veraible change between levels

Hi everyone I am trying to understand what is the best way to approach my problem for few days know, I hope someone could help me with this one. I have set a game ( one level for now) in which I have few characters I can switch between. The problem I am counting turns and also I have skills which I shan't to be change grime level to level and different number of turn for different levels. Is there I way that I can change the value of vareible in game???

Thanks in advance Leo

Product Version: UE 4.16
more ▼

asked Jun 16 '17 at 08:09 PM in Blueprint Scripting

avatar image

leo bar
9 2 5

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

1 answer: sort voted first

I have a bit of trouble understanding this question, but if I am correct is what you want to do save data from one level so you can use it in a different level? Like say, if you character has had 5 turns, you want the game to remember your character has had 5 turns even if you change level?

In that case, I believe you should make a custom game instance and try to save your data there. Game instances are created at the start of the game until the game is closed down, so it keeps existing between level changes (so you can use the game instance to save the relevant data for your characters, and have your characters read from that data the moment you start a new level).

Anyways, this link probably has more information on the subject

more ▼

answered Jun 17 '17 at 02:47 PM

avatar image

578 25 22 96

avatar image leo bar Jun 19 '17 at 02:35 PM

hi cridia sorry about the late answer (been away for few days) thank you very much for your answer. game instance was what i look for thanks a lot

(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