Is it possible to Access textures in another addons folders?
I'm not planning on using someone elses textures, but was wanting to open an addon up so people can create their own textures that they could register with my addon. I have everything working except I can't figure out how to access the textures in another addons folder. Right now it only works if the other addon registers textures built into the game.
I was trying to use something like this, but nothing is showing up:
Lua Code:
texture = "/OtherAddonName/textures/some_custom_texture.dds"
cCntrl:GetNamedChild("Texture"):SetTexture(texture)
While I'm at it what is the difference, if any, to using either of these:
Lua Code:
texture = "/OtherAddonName/textures/some_custome_texture.dds"
texture = [[/OtherAddonName/textures/some_custome_texture.dds]]