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"

Blueprint Suggestion: Variables by Reference

When I have many things that share a base class, and I want to be able to reference them both as individual named items, and then do "generic" things to them, it would be quite helpful to be able to pass reference-to-variable to a Blueprint function.

For example, "create UI widget instance of class C, assign it to a member variable, attach it to the view" is a very common thing to do, but I can't really turn that into a function or macro, because I can't pass in "the member variable name to assign the created object to" as an argument. Reference-to-variable as a type would solve this.

Product Version: UE 4.9
Tags:
more ▼

asked Sep 05 '15 at 06:04 PM in Blueprint Scripting

avatar image

jwatte
1.3k 48 41 88

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

1 answer: sort voted first

I haven't tried it yet but you can mark function arguments as Pass-by-Reference. This is with UE 4.8.2, but I seriously doubt they removed this functionality in 4.9.

alt text

Is that what you're looking for, or do you mean something else?

more ▼

answered Sep 06 '15 at 10:32 AM

avatar image

erinacea
1.8k 68 28 112

(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