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 can I make an array choose index based on triggersphere?


I'm working on an interactive music system, and I'm trying to make a layer fade in based on distance to an object. So, when the player character walks into a trigger sphere, the layer fades in gradually as the character moves closer to the object. I've made this happen with one object, but there will be several similar objects in the level that will make this layer fade in. I'm trying to find a way to make this happen without having to copy the system for each individual object, and tried doing this by making an array. However, I'm not sure how to make the 'get array' node choose the index corresponding to the actor that is within the given trigger sphere, and was wondering if anyone might know how to do this, or if there is any better way to do it?

This is the system I have for it now in the level bp alt text

Thank you.


Product Version: UE 4.12
bp.png (242.2 kB)
more ▼

asked Sep 03 '16 at 05:14 PM in Blueprint Scripting

avatar image

26 1 1

(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