layer

Determines the order of a panel, text, view, view entity, or sky entity, if it overlaps with other objects. Normally, elements with higher layer value will be placed over elements with lower layer value.

Range:

-999999...+999999 (default: 0)

Type:

var

Remarks:

Example:

PANEL* compass_pan =
{
  bmap = "compass.pcx";
  pos_x = 4; 
  pos_y = 4;
  layer = 10;		
  flags = SHOW;
}

See also:

PANEL, TEXT, VIEW, ENTITY, layer_sort, fLayer

► latest version online