Difference between revisions of "Measuring Time to Display Menus"
→Notes: clarification
imported>Khalim19 m (grammar correction) |
imported>Khalim19 (→Notes: clarification) |
||
Line 14: | Line 14: | ||
*The script requires [[OBSE]] to run. | *The script requires [[OBSE]] to run. | ||
*The script uses [[GetUserTime]] function from OBSE to get the user's current date and time. The [[GetSecondsPassed]] function cannot be used for the purposes of the script. | *The script uses [[GetUserTime]] function from OBSE to get the user's current date and time. The [[GetSecondsPassed]] function cannot be used for the purposes of the script. | ||
*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 | *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. | ||