ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   I'm Starting a Project TimeWorks (https://www.esoui.com/forums/showthread.php?t=2383)

zireko 11/03/14 02:21 PM

I'm Starting a Project TimeWorks
 
I wanted to do a code for a Clock. The author of SimpleClock has stopped working on it so I wanted to bring out a new clock for use. Now my clock will not be as advanced as SimpleClock to begin with. I like having an in-game clock so that I can keep up with the time from how long I been playing to when I need to start dinner.

Name of the Addon will be: TimeWorks

Local function that I'm going to need is a 12 hour clock function. If anyone knows a very simple 12 hour clock function could you please share? I'm looking all over for a function that does this. I've looked at SimpleClock and the code is all split up so it's harder to understand and really find the function.

Randactyl 11/03/14 03:02 PM

check out http://wiki.esoui.com/API and ctrl+f for "time"

There are quite a few functions dealing with time such as GetTimeString() GetTimeStamp() GetFormattedTime() etc. You'll have to play and see which will suit you best :)

zireko 11/03/14 03:07 PM

Thank you Randactyl. :)


All times are GMT -6. The time now is 08:17 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI