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"

Race Timer Setup Issue.. Please Help?

I've attempted to make a timer using the tutorial below but when I play my game the timer is not working as the tutorials. So what have I done wrong here?? Is there any other way I can make this type of timer with UE 4.20??

Tutorial: https://api.unrealengine.com/INT/Videos/PLZlv_N0_O1gYdhCvvMKGpCF6LCgBz9XeS/KS6In6yJerM/index.html

Blueprint Images: alt text alt text alt text alt text alt text

Product Version: UE 4.20
hudcode.png (291.9 kB)
hudcode2.png (520.1 kB)
hudcode3.png (499.7 kB)
hudcode4.png (460.4 kB)
hudcode5.png (368.1 kB)
more ▼

asked Jan 04 '19 at 12:40 PM in Blueprint Scripting

avatar image

1 1

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

1 answer: sort voted first

The tutorial look way more complex than it can be.

Here's a screenshot of a way to easily convert float into time without that cumbersome function: alt text (https://answers.unrealengine.com/storage/attachments/93968-compute_hours_minutes_seconds.png) (Credit goes to @Plosnita ).

You can count the time by simply adding a World Delta Seconds to the current value; or get the game time at the moment when the race begins and just subtract that from the game time at any moment of the race; some people say that Timelines tick 3 times as fast as the Event Tick, so maybe that will give you a more precise result.

more ▼

answered Jan 04 '19 at 12:59 PM

avatar image

1.7k 11 6 8

(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