skin

If a model entity has multiple skins, the skin assigned to the first set of faces can be changed through this parameter (1...number of skins).

Range:

1 .. max skin number (default: 1)

Type:

var

Example:

action flipskins()
{
  while (1)
  {
    my.skin = my.skill1 % 32; // 32 Skins
    my.skill1 += time_step; // 16 skins per second
    wait (1);
  }
} 

See also:

frame, next_frame

 

► latest version online