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 duplicate a spawning actor/BP

alt text

I want to know how to duplicate the effect this blueprint has onto multiple objects, or a way to make duplicates of the spawner.

Product Version: UE 4.18
bp1.jpg (96.3 kB)
bp2.jpg (88.8 kB)
more ▼

asked Apr 17 '18 at 11:48 PM in Blueprint Scripting

avatar image


avatar image EvilCleric Apr 18 '18 at 07:21 AM

Maybe create a Component that asks for a the time interval and what to spawn. Then it's just a question of adding the component to as many BPs or objects in the scene you want, giving them the ability to spawn stuff:

Scene component:

alt text


alt text

In this case I dragged the component to a trigger a volume already present at the scene. I set the spawning time and what to spawn. And done.

component.png (238.2 kB)
usage.png (818.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You probably do not want to use Tick for this unless you need the rocks fall every 3 seconds until the end of the game.

You could employ a Loop hooked up to a *Custom Even*t for something like this:

alt text

Also, right click the spawner's Return Value and promote it; this will create a variable with correct type, you can then turn it into an array and add the spawned objects there. This will ensure you always have access to all the spawned objects.

capture.png (77.6 kB)
more ▼

answered Apr 18 '18 at 05:43 AM

avatar image

15.2k 77 25 62

(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