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. 

Create node with pure/impure conversion

Is there a way to create a node that you can right click and press "convert to pure" or "convert to impure" like the cast node?

I want to create a series of macro bool's that will have a pure form, which just returns the normal bool, but the impure has a built in branch, so it outputs two exec's instead of a value.

I'm assuming this will have to be done in C++ if possible. Is there a way to do this?

Product Version: UE 4.14
Tags:
more ▼

asked Dec 13 '16 at 04:01 PM in Using UE4

avatar image

Willard720
313 16 25 55

avatar image _Simian Jan 20 '17 at 10:55 AM

I'd also like to know how to achieve this! Were you able to find a solution outside of answerhub?

avatar image Willard720 Jan 20 '17 at 01:27 PM

Just a work around. I ended up creating my bool with built in branch nodes and added (impure) at the end of them so I can search for it when I type them.

I also throw in the value node because 1. It doesn't take up space, or make the node extra taller 2. It looks nicer, and 3. You never know when you need it.

Node

int int.png (15.6 kB)
avatar image Willard720 May 30 '17 at 03:20 AM

I know this would be sort've weird to implement into Function/Macro libraries, since you'd have to have, in the function library, a reference to a macro in another library, but, seeing as function libraries can already use macros from their libraries it shouldn't be that hard.

avatar image Willard720 Aug 31 '17 at 11:48 AM

Bump bump bump

(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