ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "YSortAdjust"

From ModEnc
Jump to: navigation, search
m
 
Line 14: Line 14:
  
 
Defines the adjustment, in leptons, to apply when sorting this [[animation]] object in its [[layer]]. In most cases, this affects how the animation is drawn relative to other objects on the same layer. By default, objects are sorted based on the sum of their X and Y coordinates, on which {{f|{{PAGENAME}}}} is directly applied. Therefore, negative numbers sort the animation behind and positive numbers sort the animation in front of other objects.
 
Defines the adjustment, in leptons, to apply when sorting this [[animation]] object in its [[layer]]. In most cases, this affects how the animation is drawn relative to other objects on the same layer. By default, objects are sorted based on the sum of their X and Y coordinates, on which {{f|{{PAGENAME}}}} is directly applied. Therefore, negative numbers sort the animation behind and positive numbers sort the animation in front of other objects.
 
+
==Note==
 +
*Images in the [[ Particles]] section will not read this tag. Although the Image in the section [[Animations]] will have this tag.
 
{{Bugs}}
 
{{Bugs}}
 
*{{f|{{PAGENAME}}}} only works on the ground [[layer]].
 
*{{f|{{PAGENAME}}}} only works on the ground [[layer]].

Latest revision as of 16:24, 20 September 2024

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: YSortAdjust
File(s): Art(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: Animations


Defines the adjustment, in leptons, to apply when sorting this animation object in its layer. In most cases, this affects how the animation is drawn relative to other objects on the same layer. By default, objects are sorted based on the sum of their X and Y coordinates, on which YSortAdjust is directly applied. Therefore, negative numbers sort the animation behind and positive numbers sort the animation in front of other objects.

Note

  • Images in the Particles section will not read this tag. Although the Image in the section Animations will have this tag.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

  • YSortAdjust only works on the ground layer.

See also