WildStar:API GameLib GetWorldTimeOfDay: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Bear moved page //API GameLib GetWorldTimeOfDay to API GameLib GetWorldTimeOfDay without leaving a redirect)
No edit summary
 
Line 1: Line 1:
{{../uiapi}}
{{\|uiapi}}
Gets a number representing 24 hours of a game day in seconds, wrapping to 0 at 24 hours.
Gets a number representing 24 hours of a game day in seconds, wrapping to 0 at 24 hours.
  local hoursInSeconds = GameLib.GetWorldTimeOfDay()
  local hoursInSeconds = GameLib.GetWorldTimeOfDay()

Latest revision as of 07:29, 9 August 2023

UI API < GameLib.GetWorldTimeOfDay

Gets a number representing 24 hours of a game day in seconds, wrapping to 0 at 24 hours.

local hoursInSeconds = GameLib.GetWorldTimeOfDay()

Summary[edit]

Is a division of real time such that on Nexus currently is moving at ~6.85 times faster than regular Earth time, wrapping at midnight real time.