PDA

View Full Version : adding decimal to a coor add on?


Krzi
06-07-2007, 10:07 AM
I'm new to wow, and everyone keep asking me if I had a coor add on. well after some hunting I found one I like, but want to change it a little. the add on is Koordinator, and gives the option of displaying player coor in the mini map or a mini window. The mini map display shows numbers like this (48.02 / 51.22) and the mini window display shows number like this ( 48 / 51 ).

How can I get the mini window to display the decimal point numbers?

Iceshard
06-07-2007, 02:33 PM
Not sure about that mod, could not find it. But, try this one:http://wowui.incgamers.com/ui.php?id=3578

It is a real nice one, or I like it at least.

:grin:

JaedxRapture
06-07-2007, 06:35 PM
Go into its Lua files and find "string.format" or "strformat". Within this there will be a string and some values, which may look like this: string.format("( %.0f / %.0f )",x*100,y*100) or something similar. Change the instances of "%.0f" to "%.<number>f" where "<number>" is the amount of decimal places to show.

Example:
string.format("( %.2f / %.2f )",x*100,y*100)

That would output the coords to 2 decimal places, like this: "( 20.03 / 43.12 )".