Difference between revisions of "Measuring Time to Display Menus"

Jump to navigation Jump to search
m
→‎Notes: Grammar correction
imported>Khalim19
(Added lower bound; minor script clean-up)
imported>Khalim19
m (→‎Notes: Grammar correction)
Line 16: Line 16:
*The time measured is displayed in seconds with precision up to three decimal places. The number of decimal places is restricted by the [[GetUserTime]] function - the "Millisecond" array element returned by the function can only be an integer ranging from 0 to 999.
*The time measured is displayed in seconds with precision up to three decimal places. The number of decimal places is restricted by the [[GetUserTime]] function - the "Millisecond" array element returned by the function can only be an integer ranging from 0 to 999.
*The script runs every frame in order to get the most precise results.
*The script runs every frame in order to get the most precise results.
*The script does not display time below a specified threshold (in seconds). By default the threshold is 0.2 seconds.
*The script does not display time below a specified threshold (in seconds). By default, the threshold is 0.2 seconds.


==The Script==
==The Script==
Anonymous user

Navigation menu