Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/07/15, 05:07 AM   #1
Leju
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 8
Lua - Get Directory xxx.lua

I am creating an addon and I'm stuck on one thing, when I use the following line in the Lua
local dir = debug.getinfo(1).source
it returns me the following result
@game:/EsoUI/lang/br_pregame.lua
and what I need to know and exactly the way it is "@game:" by chance would have the game function something that could help me?

Last edited by Leju : 05/07/15 at 05:25 AM.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Lua - Get Directory xxx.lua


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