Relative path file
Hello. In the folder where the .lua, .xml and .toc files are present, there is a subfolder called "media" where the "thumb.blp" file is present. What is the right syntax to load this file? I tried
"media\\thumb" "\\media\\thumb" "..\\media\\thumb" but none of them work. Do I have to write the whole path? |
Code:
"Inteface\\AddOns\\Your-Addon-Folder\\Media\\Thumb" Code:
local TexturePath = "Inteface\\AddOns\\Your-Addon-Folder\\Media\\" Code:
thisTexture:SetTexture(TexturePath .. "Thumb") |
All times are GMT -6. The time now is 09:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI