ArcBasicDocs

LoadTexture

Loads a texture.

LoadTexture ( filename$[,flags] )

Parameters

filename$
the picture file: PNG, JPEG, BMP and other common types.
flags (optional)
what kind of texture it is; add the numbers together to combine them. 1 for colour; 2 to use the picture's see-through parts; 4 to make black see-through; 8 to blur it a little when seen from far away, which stops it shimmering; 16 and 32 together stop it repeating at the edges.

Description

Loads a picture as a texture and gives back its handle, or 0 if it can't be loaded. Put it on an entity with EntityTexture.

See also