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"

How to set local components in Blueprint as a local array?

alt textIs there a way to setup a local array in the blueprint with the component added inside the BP itself without doing it in Construct script?

Product Version: Not Selected
Tags:
more ▼

asked Aug 12 '14 at 06:20 AM in Blueprint Scripting

avatar image

RinDreamX
88 9 12 18

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

3 answers: sort voted first
more ▼

answered Jun 22 '15 at 05:21 PM

avatar image

spyro
1.7k 106 117 232

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

You do the same thing, you just do it in the event graph instead of construction graph.

more ▼

answered Aug 12 '14 at 12:25 PM

avatar image

Zeustiak
1.8k 131 68 110

avatar image RinDreamX Aug 12 '14 at 05:30 PM

I'm sorry, I think you misunderstand my question. Adding it in Event Graph makes it less efficient in my case. The goal for me is to pre-Filled an Array Variable with the BP local components that I've added in the BP before hand, without having to do it in Construct Script/Event Graph. I need this so I can use the pre-filled array immediately in the construct script/EventGraph by just doing a Get for the Array without needing to create a bunch of Add nodes in the constructscript/eventgraph.

Think of it as the Default content of the array filled with local components.

Imagine if there's 100 local components I want to be in that array, doing that in the construct script like I've shown above will create quite a long list of Add to Array nodes that I would like to avoid :)

Another alternatives I would like to know if I can do something like a for loop function to get all those local components into an array in construct script. So far I can't get All Arrow Component (like above example) to be inputted into the array. Any answer will be appreciated.

Thanks in advance.

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

I have the same problem. How to pick local components in array default values ? If I click on NONE, the list that pops up is empty. My array is the same type as components.

thanks!

more ▼

answered Jun 22 '15 at 04:46 PM

avatar image

tas
73 9 13 15

(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