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"

Blueprint variables reset to zero

Hi!

I've given default values to variables in my blueprint in the class defaults, but whenever I restart the editor, the variables are reset to zero. The editor remembers the defaults and they can be switched, but it is rather annoying to do this to many blueprints every time I start the editor.

Here's a picture:

alt text

Variables "speed" and "rate" are supposed to be 0.06 and 1 by default. However, they are reset to zero.

I managed to work past this by setting speed and rate on the construction script of the parent class (it doesn't change the values in the child's blueprint of course, but at least makes them work in the game). I figured it was worth reporting though. :)

Product Version: Not Selected
Tags:
variablesreset.png (52.9 kB)
more ▼

asked Mar 11 '15 at 01:25 PM in Bug Reports

avatar image

rokesy
78 7 8 11

avatar image Ben Halliday STAFF Mar 12 '15 at 11:12 PM

Hi rokesy,

I wasn't able to reproduce this in a new Actor Blueprint, nor in a child of that BP. Are you only seeing this in child Blueprints? Does it happen in a new project as well, or only your current project? Can you give me step-by-step instructions to reproduce this in a new project?

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

1 answer: sort voted first

If those variables are in a super (parent) class then this thread covers the state of this bug. Short answer is it will be fixed in 4.7.3.

more ▼

answered Mar 12 '15 at 11:44 PM

avatar image

Dan.OConnor STAFF
495 14 7 17

(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