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"

why does collapsing my nodes break my code?

my code works but its a bit messy so I tried collapsing it into a macro, function etc, but I get errors. it makes no sense. As soon as I expand it again it works.

Product Version: UE 4.18
more ▼

asked Jun 11 '18 at 04:35 PM in Blueprint Scripting

avatar image

24 1 4 7

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

1 answer: sort voted first

nevermind, the code did work, my duplicated collapsed nodes were faulty because it was trying to access something that wasnt there yet where as my original collapsed node was already setup correctly. Im a newbie programmer and I keep running into simple problems that takes me like an hour to figure out. its annoying

more ▼

answered Jun 11 '18 at 04:46 PM

avatar image

24 1 4 7

avatar image Hyrex93 Jun 12 '18 at 05:53 AM

Welcome to programming life and good that you found out why :) Its very often even for non-newbie spent lot of time figuring why it isn't working, so no worries :)

For me I only use collapse node to hide things that could never be function, and they involve too many one-time calculation and make the graph complex, like hit result data or fetching values. Copy collapsed graph requires special attention, like to update variable, ensure events aren't duplicated, etc

(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