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"

Blueprint - Particles Set Parameter

In the Event Graph of a Blueprint that has Emitter components attached.

How do I set a Parameter on a Particle System.

Basically, I would like to set one Emitter on the System to Inactive, while the rest are all still active.

I tried using Set Actor Parameter, and have the Particle System as the Target, and put the EmitterName for the ParameterName slot. But I'm not sure what to do from there.

alt text

Product Version: Not Selected
Tags:
laserattractor.png (365.6 kB)
more ▼

asked Mar 11 '14 at 02:50 AM in Blueprint Scripting

avatar image

ue4-archive ♦♦ STAFF
50k 3669 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

can u upload a pic of your current blueprint setup?

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

1 answer: sort voted first

Well if you are just wanting to deactivate a particle system component you will want to make a BP function library for

Particle System Component.h (doesnt work with actor component->Deactivate)

 virtual void Deactivate() OVERRIDE;

But if you have a variable to an actual emitter you should be able to use

the Activate/Deactivate that are for all Actor Components

Here's a pic showing that it does work :)

Make sure to turn off "Context Sensitive" if you're not seeing the Actor Component options

alt text

more ▼

answered Mar 11 '14 at 02:50 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3669 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

Ya, I have a ref to the particle system, but I only want to deactivate 1 emitter on it at first. It is named BaseAdd. You can see the ParameterName in the Set Actor Parameter, I just wanted to set it to not be active.

You can see elsewhere in the graph that I am both hiding and setting the Activate and reset status to the Components already. Looking for granularity into one of the Particle Systems to just modify one of it's emitters.

Edit: I think this will work fine though. I can just split up the Particle Systems into smaller ones if I need different parts to turn off sooner.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

yea I dunno how to deactivate individual emitter modules of a particle system :)

hopefully actor component->deactivate can be made to work out for you :)

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

I have it close enough for where it needs to be right now.

alt text

laserdot.png (1.2 MB)
avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:51 AM

oooh very nice, thanks for sharing!

when I saw you mention "cat" in other post I wasnt sure... but this pic confirms it!

cant wait to see more of what your game isa bout :)

Rama

(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