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"

Box selection add Actors into array for further usage [RTS]

Hello everyone. I am having troubles with adding selected Actors into array for further usage. What I have so far:

  1. FindActor is an array produced during box dragging selection.

  2. SelectedArrayTest should store actual data from BoxSelection, but when I am dragging output from ForEachLoop->ArrayElement into Add I cant check if it was added or not, and I am not sure that this is proper way of doing that.

BoxSelection done within HUD and arrays should be created within it (?). I've put the main game logic into CP_Controller, for example LMB actions are done there. Maybe I should do something with arrays there, but how and what I have no idea. Please have a look at the screenshots.

The red point above the actor during selection shows that selection working and it disappears when SelectionBox is gone (LMB released). So no data stored.

Any help/advice and supporting screenshots will be appreciated!! Thanks!

alt text alt text alt text

Product Version: UE 4.10
more ▼

asked Mar 20 '16 at 09:08 PM in Blueprint Scripting

avatar image

38 2 4 10

(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