• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

precision

  1. Uncle

    Imprecision of timers and working around it (Lua)

    The problem is that the Reals aren't precise. Here's a simple code I made in Lua: local duration = 5.00 TimerStart(SomeTimer, 0.05, true, function() duration = duration - 0.05 print("Duration = ", duration) if duration <= 0 then --End the timer end end end) When I...
Top