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"

Distribution Float Particle Parameter Trigger

Hi people,

I'm trying to trigger a particle spawn count only when I press (and release) a button. I hope it'll make sense when you watch the short screen-capture. My problem is that if I set the spawn Constant to zero, the button triggers, but the value doesn't change and it doesn't start emitting particles. However...

If I set the spawn Constant to 0.1 the emitter emits one particle per second. Now, if I press the button, it sets it to 1.0 and I get 10 particles per second. When I take my finger off the button, it sets the value to 0.0. Great! (Although, this stops working eventually, too).

Although, this seems to work to a degree, it doesn't explain why I can't have a zero emission rate initially? I know the value is changing because I used a 'f To Text' node and attached it a 'Print Text' node. So, I can see the values updating. alt textAny answers would be greatly appreciated.



[1]: https://youtu.be/aBr0MA_U5vg

Product Version: UE 4.19
cascade.png (137.3 kB)
more ▼

asked Dec 12 '18 at 01:09 AM in Blueprint Scripting

avatar image


(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