Thread
:
Equivalent of Lua's "debug" Global in WoW?
View Single Post
04-21-22, 02:07 PM
#
2
SDPhantom
A Pyroguard Emberseer
Join Date: Jul 2006
Posts: 2,326
If you're talking about having a function check its args, you can use
select()
.
Code:
local function PrintArgCount(...) print(select("#",...)); end
__________________
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)
SDPhantom
View Public Profile
Send a private message to SDPhantom
Find More Posts by SDPhantom