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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Array Help

I currently have an array set with 3 spawn points that hold the locations. When I want to spawn a single actor all works fine, the problems come when I want to spawn from an array. Nothing seems to be spawning. Is there something I'm doing wrong? Or am I completely of track with what I'm doing. Please see images below.

The way I have the array set up alt text

The Way I have it set to spawn alt text

Many Thanks :)

Product Version: UE 4.10
Tags:
2016-01-13.png (246.8 kB)
2016-01-13 (1).png (279.0 kB)
more ▼

asked Jan 13 '16 at 06:47 PM in Blueprint Scripting

avatar image

EddieHittler
6 1 2 3

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

2 answers: sort voted first

Hi Eddie,

It doesn't look like you're populating the array at all. The Cast To nodes don't work without an execution input linked to an event chain, and they won't work without an Object input reference anyway. It's probably easiest to populate the array ahead of time with default values of these classes (CubeRed, CubeBlue, CubeYellow) in the Details panel for the array variable.

more ▼

answered Jan 13 '16 at 08:04 PM

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

You aren't populating the array properly. You aren't ever calling the cast nodes, nor do you have any objects plugged into them. Depending on how you have everything else set up you need to find a way to add your spawn actors to the array.

more ▼

answered Jan 13 '16 at 08:04 PM

avatar image

magicjames
1 1 1

(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