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"

Casting not working

I'm trying to play a sound attached to an actor Cube, that is in the scene, from another blueprint when the player jumps. While "Get All Actors of Class" did the job I'd like to make it more efficient since I already know that I just want to play that particular sound, on that Cube. So I thought about casting... This is what I've got so far but I can't realize how to get a reference to that Cube in order to pin it to the Object input. alt text

By the way, this is the Custom Event that I'm referencing to alt text

Any ideas?

Product Version: UE 4.17
Tags:
more ▼

asked Oct 11 '17 at 11:44 PM in Using UE4

avatar image

guidocm
1 1 2 2

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

3 answers: sort voted first

You dont have an object atached to the cast, it will always fail, you should get a reference of the cube you want to play the sound on and atach it there

more ▼

answered Nov 24 '17 at 09:02 PM

avatar image

wibu-games
1 2

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

Yes, I know that but my question is: How could I get that reference, other than "Get all actors of class"?

more ▼

answered Nov 24 '17 at 09:05 PM

avatar image

guidocm
1 1 2 2

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

Watch this and you will be set https://www.youtube.com/watch?v=EM_HYqQdToE

more ▼

answered Nov 24 '17 at 10:59 PM

avatar image

Nachtmahr
7k 143 28 172

(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