Knowing if a brush exists?

Blitz3D Forums/Blitz3D Programming/Knowing if a brush exists?

oehm, afair, getsurfacebrush always creates a new brush from the information of the surface. therefore it's completely logical that it always returns a number, 'cause a new brush is created. and of course a surface has always something like brush information stored in it.. that's the purpose of a surface xD. by default it's just the information: white, no texture, no special fx.


about the surface/entity thingie i'm not quite sure. maybe the entitybrush is attached first to every surface and then overwriten by the surface brushes?