View Single Post
08-19-08, 01:46 AM   #1
Selite
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 20
LDB implementation questions

Ok, I think I've got it right, but I thought I'd just a couple of questions.

1. In the data feed example here there is the line;
Code:
f:SetScript("OnUpdate", function(self, elap)
Just want to know when "OnUpdate" actually fires.

2. In the line;
Code:
    dataobj.text = string.format("%.1f FPS", fps)
This is less to do with LDB, but while I'm here, I thought I'd ask. The %.1f gets replaced with the variable fps, and is rounded off to 1 decimal place, right?

Thanks in advance.
  Reply With Quote