Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/13/14, 05:20 AM   #1
Tyx
 
Tyx's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 23
Question GameTime function

Hello,
I want to write a little AddOn to show the ingame time.
This isn't exactly a lua problem but I couldn't find a better sub forum than this one - sry for that.

It is more an API problem. I couldn't find a function which gives me back the current ingame time.
Is there a function like this in the API? I tried many (but maybe overlooked some):

Shows:
how long you are playing:
GetFrameTimeMilliseconds() = GetGameTimeMilliseconds() ~ GetTimeString()

is self explainatory
GetSecondsSinceMidnight()

Don't know exactly what it does... delta is usually a difference between two things but... no idea between which times^^
GetFrameDeltaTimeSeconds()

I think this is for the alliance wars how long the campaign last
GetGameTimeRemaining()

Hope you can help me

I think this addon will be pretty usefull for vamp and ww hunts - it would be nice to know which moon phase it is right now but this will probably not be an api function.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » GameTime function


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off