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"

I need help with delay

Unreal Engine 4.9 - So I have this actor (Rune) when collided with the player (RunCharacter) set a variable to 1 (Orb On) and then it delays it sort of as a "duration" of the effect and the turns it back to 0 (Orb Off) and afterwards it deletes itself. alt text And I want to show it in the HUD element. I didn't know how to replace images so i just used a progress bar to show and hide images. alt text Essentialy doing this: alt text alt text

Now, this works but only with a delay of 2 or less. anything higher than 2 just sets it at the highest value and doesn't reset back to 0. I can't seem to figure out the reason behind that.

Thank you!

Product Version: UE older version
Tags:
rune-collision.png (73.7 kB)
hud.png (93.3 kB)
ui-orb.png (102.3 kB)
ui-orb-glow.png (113.5 kB)
more ▼

asked Dec 20 '18 at 02:35 PM in Using UE4

avatar image

Powndr
1 1

avatar image esjastad Dec 20 '18 at 03:50 PM

You could try using a timeline instead of a delay and see if you get what you are looking for.

The timeline could even be used to slowly drop or increase the power of your "buff"

avatar image Powndr Dec 20 '18 at 04:04 PM

Again, when I set the duration of the timeline on 2 or less it refreshes as intended, but anything larger just keeps at a 100% of the progress bar.

Thanks for the reply!

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

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