Skip to content

ActiveAnimZAdjust

The depth bias applied to the first active slot's animation.

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 decides whether active slot one’s animation is drawn over the structure or behind it. A negative value brings the animation toward the viewer, so it covers the structure. A positive value pushes it back, so the structure covers it.

The value 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: ActiveAnimZAdjust=200 is stored as -56 and draws the animation in front of the structure. Placement and draw order compares this bias with ActiveAnimYSort.