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"

Trying to toggle the visibility of an emitter from a blueprint but I don't know how to set the target

I see how to toggle the visibility of something but the emitter in question is NOT part of the blueprint. The emitter is moved at the start of the game by the level blueprint and now, in a separate actor blueprint, I am trying to toggle that emitter's visibility. I just don't see how to set the target to the emitter.

Anyone have an idea or a tutorial they can point me to? This is the last hurdle to release my simple game. Just can't figure this one out.

Thanks so much.

Product Version: UE 4.17
Tags:
more ▼

asked Jul 21 '18 at 07:58 PM in Blueprint Scripting

avatar image

josephoracle
1 1

avatar image rklsImmersion Jul 22 '18 at 06:14 AM

I'm kind of lazy, and I'm not sure if this is considered taboo in the game dev world, but whenever I have something that I need multiple classes to reference, I normally have it as a variable in the game mode or game instance. If you do that, you can cast to either of those and get the reference.

avatar image HarryHighDef Jul 23 '18 at 09:43 AM

You could have the actor have an event dispatcher and bind it in the level to set the visibility.

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

1 answer: sort voted first

you guys know of any good tutorials for either method? I did create a BP with the emitter in it and created an object variable with the emitter in the BP but I don't know how to call it from another bp. Cast To? Get Actor?

more ▼

answered Jul 25 '18 at 01:43 AM

avatar image

josephoracle
1 1

(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