Skip to content

ActiveAnimYSort

The sorting bias applied to the first active slot's animation, in leptons.

Specification
Applies to
BuildingType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
integer
When omitted
0

The value moves active slot one’s animation within the draw order of the ground layer, in leptons; a cell is 256 leptons. A larger value sorts the animation later among the objects around it, and a smaller value sorts it earlier. An AnimType left at Surface=no is drawn in the air layer, which is not sorted, so the value has no effect on it.

The value replaces the AnimType’s own YSortAdjust. It is read only when the slot has an animation name from ActiveAnim or ActiveAnimDamaged.

Keep the value between -128 and 127. A value outside that range wraps around. Placement and draw order compares this bias with ActiveAnimZAdjust.