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"

Spawning actors isn't working correctly

my actors won't spawn correctly, and I have no idea what I'm doing wrong. I'm gonna do my best to explain: I'm trying to make a board game type thing. first I create the array for my text fields alt text then I check to see if they are valid, if so I add them to my "Players" array alt text then, for each loop of this array, I want to set the Player name on the right side of the screen alt text and I also want to spawn an actor for every entry in the "players" array (one for each player) alt text aaaand I end up with more actors than there are players. This happens every time, and I have tried several different methods of spawning. Does anyone know where I'm going wrong here, or a better way to do this?

alt text

Product Version: UE 4.15
Tags:
1.png (302.6 kB)
2.png (271.6 kB)
3.png (255.3 kB)
4.png (255.4 kB)
5.png (712.9 kB)
more ▼

asked Jul 12 '17 at 12:48 AM in Blueprint Scripting

avatar image

mabdog
5 1 3 4

avatar image mabdog Jul 12 '17 at 12:59 AM

I put a print string on the end of my spawning node. alt text so I see it's spawning a few entries of the index multiple times. Does anyone have any idea why this is? Maybe it's too fast.. but I don't think I can use a delay in a foreach loop

6.png (654.0 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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