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"

Structure Merge

Is there a whey to either loop a structure and add two of the same kind in to one or do i have to do it manually. Was hoping there would be a merging function or something.

Product Version: UE 4.8
Tags:
more ▼

asked Jun 24 '15 at 10:31 AM in Blueprint Scripting

avatar image

Denaton
25 8 8 10

avatar image spyro Jun 24 '15 at 11:46 AM

AFAIK there is experimental feature called 'structBox' available under window/plugins/Blueprint. Maybe this is what you need?

avatar image Denaton Jun 24 '15 at 02:46 PM

Looks cool but not what i needed. I have a Structure with Structures in them, ex alt text

Stats Struct has Attributes Struct Regeneration Struct

Attributes Struct has 4 Structs (All the same just different names) with one int and a float.

Now i want to add in to one of them in a easy way.

(The logic i want) alt text

setup.png (10.8 kB)
logic.png (29.3 kB)
avatar image spyro Jun 24 '15 at 03:54 PM

As far as I know there is no 'for-each-member' functionality available, this only works for collections/arrays. Blueprint is extremely limited in terms of data structures, you would need something like a nested hashmap instead.

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

1 answer: sort voted first

My workaround, just made a function for it, if someone know how to do it dynamic i am all ears.

alt text

workaround.png (285.3 kB)
more ▼

answered Dec 20 '15 at 05:58 PM

avatar image

Denaton
25 8 8 10

(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