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"

Text Default True Failing to Recognize on Begin Play

Hi there!

I have a problem with Event Begin Play and registering default value on Text variable. What I have is that with every Event Begin Play, the game checks the value of the text and sets the players location accordingly. I need to toggle animation when the player starts a new game for the very first time and after that it this does not occur again. I made it so that the default value of text is 1 and after playing the intro, it sets the value of the variable to different and this is saved and loaded everytime the player exits the level. This works with other values, but I can't get Branch to register default value correctly and leading to play the intro animation. Any clues how could I achieve that the default value is registered with the Branch following Event Begin Play, or so that the intro is only triggered once upon a new game?

Thank you!

Product Version: UE 4.11
Tags:
more ▼

asked Jul 12 '16 at 10:52 PM in Blueprint Scripting

avatar image

TheoT
48 6 8 12

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

1 answer: sort voted first

I could not find a way to fix this with booleans but instead I changed it to integer which was assigned +1 value with the first spawn while subsequent lead to different actions as the value was different.

more ▼

answered Jul 18 '16 at 11:59 PM

avatar image

TheoT
48 6 8 12

(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