View Single Post
10-22-14, 10:05 PM   #7
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,331
Originally Posted by sirann View Post
Heh, I was just reading examples of OnUpdate and noticed that no one changed elapsed and were doing just as you described instead. I was about to ask if I can even alter elapsed's value but you already answered that.
Changing the value of elapsed doesn't do anything outside the scope of the function itself. Lua doesn't support sending values back through a function's parameters.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote