TextureName$(...) and PaintEntity/EntityTexture

Archives Forums/Blitz3D Bug Reports/TextureName$(...) and PaintEntity/EntityTexture

KimoTech(Posted 2006) [#1]
If you type:
EntityTexture cube,tex
or
PaintEntity cube,brush

and then trying to get the texturename:
tex$=Texturename(GetBrushTexture(GetSurfaceBrush(surf)))

then it returns "" (nothing), but if i use PaintSurface surf,brush
then it returns texturename!


King Dave(Posted 2006) [#2]
Entity textures and surface textures are seperate.

EntityTexture and PaintEntity both apply a texture to the entity and not a specific surface.


KimoTech(Posted 2006) [#3]
Ok. Then i'll make a replace for EntityTexture, that textures each surface. Im clear then, thanks! :)