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"

Could I get some help with creating an "if, else if, else" blueprint macro?

I'm trying to make a blueprint macro that combines multiple branches into an "if, else if, else if, ... else" format. Easy enough, but I was hoping to make its length dynamic in much the same way sequence or switch nodes work.

The end goal is to make a single macro with as long a chain of branches as desired, starting with 2, and being expanded with the "Add Pin (+)" button. I couldn't find a solution within the blueprint editor so, with any luck there's a C++ method.

If this is impossible to make with the current tools hopefully the UE devs could implement something like this in the future.

Example: alt text

Product Version: Not Selected
ifelse2.png (79.5 kB)
more ▼

asked May 21 '14 at 02:47 PM in C++ Programming

avatar image

41 3 6 5

avatar image Shadowriver May 21 '14 at 04:02 PM

I didnt exlore this yet, but check K2_Node class And related classes in source code, theres where custom programed nodes are contained

avatar image Blit_Wzibok May 21 '14 at 07:10 PM

Thanks, I'll give it a look.

(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