Texture loaded, but TexturePath$() not returning..

Blitz3D Forums/Blitz3D Programming/Texture loaded, but TexturePath$() not returning..

Ross C(Posted 2008) [#1]
Does anyone have any idea why TexturePath$() wouldn't be returning a path? BUT, the texture handle is returning a number?


OJay(Posted 2008) [#2]
texturepath is not an official function. use texturename instead!


Ross C(Posted 2008) [#3]
Sorry, my mistake, i meant to say TextureName(). Been working on this too long :o)


OJay(Posted 2008) [#4]
you're sure you're not assiging the returned value to an int variable?
for anything else we would need a code snippet and/or the texture you're using. i doubt its blitzs fault...texturename() always worked for me flawlessly.


jfk EO-11110(Posted 2008) [#5]
YOu may have to load the texture using LoadBRush, then get the texture using GetBrushTexture.