Pulling the trials timer value(s)
Is there any way i can get the value(s) of the timer that starts as soon as you enter a trial? I searched in functions in the API but didn't find anything relevant, is there something that i might be missing?
I found a workaround to do what i wanna do, but if i could pull the values straight from the server/client it would be much better. Thanks in advance. |
Lua Code:
|
What's your workaround?
Looking through zgoo, I see the following trials related items: Code:
["EVENT_RAID_LEADERBOARD_DATA_CHANGED"] = 131143 edit: disregard me, I missed GetCurrentRaidTime() [duh] |
Quote:
Also i'll try what merilight said and report back for future reference. Thanks both for your info. |
What merilight wrote works, but i have hard time converting their ms into seconds, i can convert it into minutes by dividing the number by 60000 but it's impossible to get the correct amount of seconds, i divide the number by 1000 but the counter keeps going up after 60sec and i can not find a way to make it reset and start counting again.
|
Lua Code:
|
Thanks again merlight but i just found the answer 5 mins ago :) It works like a charm now.
|
All times are GMT -6. The time now is 07:25 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI