ArcBasicDocs

LoadSprite

Loads a sprite.

LoadSprite ( filename$[,flags][,parent] )

Parameters

filename$
the picture file.
flags (optional)
texture flags, as for LoadTexture: 2 uses the picture's see-through parts, and 4 makes black see-through. Defaults to 1.
parent (optional)
an entity to attach it to, or 0 for none.

Description

Loads a picture and creates a sprite showing it, giving back the sprite's handle, or 0 if the picture can't be loaded.

See also