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"

create local variable in pasted blueprint failing

I'm refactoring a lot of code right now - I'm moving my functions (it suuure would be nice if i could duplicate a function directly to another blueprint btw)

anyway, I've noticed when I paste my code into a new function and i attempt to right click a setter node of a missing local variable - and then create it as local variable - it create it OK - but the blueprint doesn't like that node on my grid unill i delete the node and redrag/create it - i.e I cant successfully compile it even thought its technically there

Product Version: UE 4.8
more ▼

asked Jul 21 '15 at 07:46 PM in Blueprint Scripting

avatar image

1k 22 27 125

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

1 answer: sort voted first

Be aware that duping functions and events can possibly change the name of the event or function which will cause the new copy not to work.

As two functions or events cannot have the same name, but call be called from multiple locations.

Try to pull the variable target reference from the new location, because most likely the reference hierarchy has changed(The way you refer to it)

more ▼

answered Jul 21 '15 at 07:51 PM

avatar image

66 5 5 7

avatar image BPANDREW Jul 23 '15 at 04:18 PM

this is sound advice but not the scenario I'm speaking about - I paste code into a blank function/class and right click on the node and use the new feature of creating a missing variable - it creates the variable how ever the existing blueprint graph wont accept this new node until i re-drag it from my property list - making this new feature partially useless

I'll post a youtube video next time I know this is going to happen

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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