scale_x

scale_y

scale_z

The scale factors, which determine the entities' size in quants per pixel (only valid for sprite and model entities). They can be changed during gameplay to grow or shrink the entity in real time. Their default value is 1.0.

Range:

0.01 .. 100 (default: 1)

Type:

var

Remarks:

Example:

action bouncer()
{ 
  while(1)
  {
    my.scale_x = sin(my.skill1)+0.5
    my.skill1 += time_step;
    wait(1);
  }
}

See also:

frame, next_frame ► latest version online