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"

Setting material parameter doesn't work in BeginPlay

I have a blueprint with TextActor component that i want to change dynamically during gameplay by setting its material parameters. So i create dynamic material instance in Construction Script, but when i try to change its parameter in Begin Play, it doesn't work: alt text

However, it works when i place this "Set Scalar Parameter Value" node in Construction Script. I want to smoothly change parameter values over time using Timeline, so I guess it must be in BeginPlay. How can I get it to work with Timeline?

Product Version: UE 4.8
Tags:
matparamproblem.jpg (283.8 kB)
more ▼

asked Jul 03 '15 at 02:18 PM in Blueprint Scripting

avatar image

Slavq
1.9k 151 149 201

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

I'm glad I'm not the only one to encounter this... I thought I was going insane!

Workaround I found was to put a delay node with a 0 second delay before setting the parameter. Very bizarre.

more ▼

answered Jun 12 '16 at 06:19 PM

avatar image

sqwyd
1 1

avatar image Slavq Jun 12 '16 at 06:56 PM

Oh thanks, I can't try this out right now, but I'll accept your answer for now, I believe that it will work :) If not, I will post a comment here or something. Thanks!

(comments are locked)
10|2000 characters needed characters left

At the right time of the play you can make changes if you are not getting any type of the correct word but want to some more try for it word finder scrabble cheat . So for it you should prepare of your way which like the easy condition handler and it works every time

more ▼

answered Dec 03 '18 at 10:05 AM

avatar image

anke909
0

(comments are locked)
10|2000 characters needed characters left
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