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"

Can you drag a single variable from a struct?

alt textEvery time I want to make a change in one of the many variables that I've put in a struct, I have to drag out the Getter so I can break it down and then tie them to Make struct and then to the setter.

In this example, I want to change the last boolean variable at the bottom, but as you can see, I have to Get, Break, Connect to Make and finally connect to the Setter.

So I want to be able to drag out just the one single variable and not go through this over and over again.

Product Version: UE 4.18
Tags:
more ▼

asked Apr 14 '18 at 05:43 PM in Blueprint Scripting

avatar image

c0ldpr0xy
28 6 8 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You can do it like so:

alt text

The struct members you do not expose will preserve their values.

capture.png (40.1 kB)
more ▼

answered Apr 14 '18 at 07:11 PM

avatar image

Everynone
12.2k 71 24 49

avatar image c0ldpr0xy Apr 14 '18 at 07:46 PM

Works like a charm, thank you :)

Edit: I just found out that you can also remove pins from the Break and Make nodes. I assume they will still preserve their values if left unchecked.

(comments are locked)
10|2000 characters needed characters left
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