Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-16-10, 08:07 AM   #1
Fhait
A Cliff Giant
Join Date: Dec 2006
Posts: 76
Question about Script variables and Time

I'm trying to create a Fractional Variable for use in a Status Bar.

spell, rank, displayName, icon, startTime, endTime, isTradeSkill, castID, interrupt = UnitCastingInfo("player")

I'd like the FracVar to consist of the remaining cast-time. (for a castbar mod)

I believe I'll need to work with the endTime and the current server time, GetTime()? but I can't seem to nail down the proper code.

Does anybody have any suggestions ?

= F
  Reply With Quote
 

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » Question about Script variables and Time


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