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"

Particle parameter not working for 'Initial Size'

In both CPU and GPU emitters, I have a setup exactly like this one, except I do this in Construction Script:


... And it doesn't work. No matter what value I set as parameter from blueprint, it doesn't change.

Product Version: UE 4.11
more ▼

asked Apr 18 '16 at 07:18 PM in Bug Reports

avatar image

2k 154 153 206

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

2 answers: sort voted first

I Slavq,

This isn't a bug, this is how the Construction Script is supposed to work. The value is generated when the asset is created and stays that number, You can easily see this is you set a vector variable that is set from the Make Vector node then just setup it to print on event tick or keypress from the Event Graph to show the value.

If you want to setup any sort of random streams values in a Construction Script you can check out this video here for a demonstration: https://www.youtube.com/watch?v=4W8xEXMiClU

Thank you!


more ▼

answered Apr 20 '16 at 06:28 PM

avatar image

Tim Hobson ♦♦ STAFF
48.9k 887 101 877

avatar image Slavq Apr 20 '16 at 06:41 PM

Oh, thank you, I didn't know that. But what I actually try to do is to just set the 'Initial Size' particle parameter from Construction Script, it doesn't even need to be random.

For example, have a 'Fire' blueprint with particle system and parameter like 'sparks size' that I can change from blueprint variable (so it passes the value to particle system to change sparks size via 'Initial Size') So sorry if I misunderstood, but something like this is not possible in Construction Script?

avatar image Tim Hobson ♦♦ STAFF Apr 21 '16 at 06:14 PM

Just use the Make Vector node and plug in any values you need. This works on my end. But passing a variable value back to the construction script isn't going to work that I'm aware of since the way it is handled when the actor is placed in the world.

It's best to handle the variable value change via the event graph where you can set a variable and adjust this.

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

Had this same issue and it turned out to be a problem with gpu particles. Normal particles will scale. You can use a make vector if you want the scale to be one number or use a vector. alt text

image.png (206.4 kB)
more ▼

answered Jan 29 '19 at 06:17 PM

avatar image


(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