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"

Delay is not synch with Real Time Seconds

alt text

As in the image, there are two examples one with delay and one with a timer But these two print strings are not giving the same number in the same real-time seconds

Set timer by event is actually completely synch with real-time seconds But delay does not synch with real-time seconds and mostly delay falls behind the real-time

Product Version: UE 4.19
more ▼

asked Dec 19 '18 at 01:47 PM in Blueprint Scripting

avatar image

83 7 17 19

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

1 answer: sort voted first

IIRC the delay node just calculates when it should fire based off thr frame rate but the timer node will work it out based on the time passed.

I'd use the Timer method for accuracy.

more ▼

answered Dec 19 '18 at 01:59 PM

avatar image

1.4k 2 14 17

avatar image Tuerer Dec 19 '18 at 02:09 PM

Another thing, when you use the delay, you set the variable first, then the delay starts counting. In case of the timer, first the timer counts, then it sets the variable. So, if we put the accuracy aside and assume they are equally accurate, if you execute both at the same moment, at any given time the value set after delay will be 0.015 higher than the value set on timer tick.

avatar image tranduil Dec 19 '18 at 02:10 PM

This is really sad because i want to use it in a macro .I m trying to create something like a timeline inside the macro and only delay can be used inside it so i m probly gone try combine delay with real world seconds check :)

(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