TurretAnimYSort
The bias added to where a building's turret animation falls in the draw order.
Specification
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
0
The value is in leptons and is added to the turret animation’s sorting position, which decides its place among the objects it shares a layer with. A higher value draws the animation later, over the objects it would otherwise fall behind, and a lower one draws it earlier. Nothing on screen moves: TurretAnimX and TurretAnimY do that, and a turret lifted up the screen by TurretAnimY is exactly the case this compensates for.
Only a turret drawn as an animation is placed this way. A TurretAnimIsVoxel=yes building has no animation to sort, and a BarrelAnimIsVoxel=yes building draws its turret animation itself, in step with the barrel, instead of leaving it to the layer.