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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

CustomStructureParam not working as expected

Hey,

So using the function below, I am attempting to use a Custom Thunk function with the Custom Structure Param to create a wildcard argument, a User Defined Struct in this case, for a blueprint node. As far as I can tell, this code is correct to how these functions are expected to be set up.

alt text

However, as with the image below, this is not working in practice. Would anyone be able to explain why this is failing in this instance? The error message it is throwing is exactly the problem this function should be solving!

alt text

Cheers in advance!

Product Version: UE 4.22
Tags:
capture.png (23.0 kB)
ljklklkl.png (117.0 kB)
more ▼

asked May 10 '19 at 08:10 AM in C++ Programming

avatar image

Kasa27
1 1

avatar image HarryHighDef May 10 '19 at 08:23 AM

Your BP needs to know what the struct is. It can be weird about this sometimes.

  1. Create a break struct of the correct type.

  2. Connect it to the data table row pin.

  3. Connect the data table pin the the fix up values func

Hopefully that saves you.

avatar image Kasa27 May 10 '19 at 08:54 AM

Thank you, that does work! I was hoping to avoid defining the struct pin, which is what I thought I was doing, but it looks like I was wrong.

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

0 answers: sort voted first
Be the first one to answer this question
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