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"

Unable to split struct pin

Hello,

I'm trying to follow a tutorial in order to create a BP slider that lets me change some substance designer material instances ingame. This is it: (21:05)

https://youtu.be/WA8ihra87cM?t=1265

At this second, they split the array to see and work with other outputs. But I'm not able to do this action, getting the following message: alt text

Any idea on how to solve this? I have little knowledge about blueprints, just need this slider for an art project.

Thank you.

Product Version: UE 4.21
Tags:
split-error.png (50.7 kB)
more ▼

asked Feb 25 '19 at 09:50 PM in Blueprint Scripting

avatar image

DarribaENGINE
6 1

avatar image TheSubZer0 Feb 25 '19 at 10:24 PM

Wait... Im trying to reproduce this

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

3 answers: sort voted first

The tutorial is using a Single Line Trace, while you're using a Multi Line Trace, therefore your result is an array (as you can see from the different icon). If you want to follow the tutorial, replace it with a Single Line Trace, if you specifically want to use a Multi one, then first you have to get an element of the array (for example Get(0) ), and you can split the struct on that result.

more ▼

answered Feb 25 '19 at 10:27 PM

avatar image

KristofMorva
1k 4 5 7

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

alt text

´Must use ForEachLoop

gs.jpg (129.7 kB)
more ▼

answered Feb 25 '19 at 10:31 PM

avatar image

TheSubZer0
119 7 8 14

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

Thanks a lot, that was a noob error.

more ▼

answered Feb 26 '19 at 10:36 AM

avatar image

DarribaENGINE
6 1

avatar image KristofMorva Feb 26 '19 at 10:44 AM

Glad it fixed it!

Please mark the answer as correct to close the issue, thanks! :)

(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