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"

Reference emitter from level blueprint

I'm trying to change the spawn rate of an emitter from the level blueprint but how do I do that?

I set the spawn rate distribution of the emitter to "Distribution Float Particle Parameter" and then edit it from the level blueprint right or? if yes how do I access the parameter from the level blueprint?

I mean I name the Distribution Float Particle Parameter to lets say "DustSpawnRate" and then use "get all actors by tag" / " Set scalar parameter value" or something like that? How do I do this?

Product Version: UE 4.19
Tags:
more ▼

asked Apr 07 '18 at 07:43 PM in Blueprint Scripting

avatar image

MrBigzer
16 3 3 10

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

1 answer: sort voted first

There "Set Float Parameter" and particle system component, if you want to do that for actor via "get all actors by tag" use foreach node. Code plugged to "Loop Body" will be executed for each element of array (actor that you got) and Array Element and Array Index change on each loop, so cast to your actor and set float parameter on its particle system component. Once done code will continue thru "Completed" pin

more ▼

answered Apr 08 '18 at 08:09 AM

avatar image

Shadowriver
37.3k 936 172 1116

(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