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"

Accessing child actor components from level blueprint

Hey guys,

I'm trying to access the particle system (3) I set up inside leap motion hands blueprint (2), from level blueprint. The said blueprint (2) is a child actor of another blueprint (1) and I don't know how to access it.

The screenshot attached should explain this a lot better than I did. I'm a bit of a noob :)

alt text

Product Version: UE 4.21
Tags:
more ▼

asked Jan 30 '19 at 01:13 PM in Blueprint Scripting

avatar image

Turbo Papok
17 1 2 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

this would help you https://answers.unrealengine.com/questions/261542/actor-reference-from-child-actor-component.html

but basically, you should get the child component using getComponent for the type ChildActor and then access child value and cast that to your particle system type

more ▼

answered Jan 30 '19 at 01:30 PM

avatar image

plangton
347 17 20 31

avatar image Turbo Papok Jan 30 '19 at 02:16 PM

Hey Plangton,

Thanks for helping out! I've found that thread yesterday, but couldn't get much further with it. That's where I am now (screenshot).

Would you be so kind and explain it a little more?

alt text

avatar image Turbo Papok Jan 30 '19 at 05:02 PM

I'm getting closer to the goal while learning Casting https://www.youtube.com/watch?v=SoBJGEtFOuM but I still can't wrap my head around it. Here's where I am now.

alt text

avatar image Turbo Papok Jan 30 '19 at 05:56 PM

Got it. Screenshot below.alt text

(comments are locked)
10|2000 characters needed characters left
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