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

End: Difference between revisions

From ModEnc
Jump to navigation Jump to search
DeathFish (talk | contribs)
mNo edit summary
DeathFish (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Art(md).ini}}
|files={{Categ|Art(md).ini}}
|values=Unsigned integers
|values={{Values|signed integers}}
|default=0
|default=0
|types= {{Categ|Animations}}
|types= {{Categ|Animations}}
Line 12: Line 12:
|ares=yes
|ares=yes
}}
}}
The offset value of the final end frame index relative to the start frame.
The offset value of the final end frame index relative to the start frame.


Since a current frame index higher than the end frame index will cause the animation to end immediately on the next frame, when {{tt|LoopCount}} is 0 or 1, only the frame corresponding to the index specified by {{tt|Start}} will be played and then it will end immediately; if {{tt|LoopCount}} is not 0 or 1, then when {{tt|LoopStart + 1}} > {{tt|Start + End}}, the animation will play from the {{tt|Start}} frame to the {{tt|LoopEnd}} frame and then from the {{tt|LoopStart}} frame to the frame specified by {{tt|Start + End}}, and in this case, a negative {{tt|End}} value is meaningful.
When {{f|LoopCount|1|link}}, it is equivalent to the number of frames played by the Animation.
 
== See Also ==
== See Also==
[[Start]]
 
[[LoopCount]]
 
[[LoopStart]]
 
[[LoopEnd]]
 
[[Animation Looping]]
[[Animation Looping]]

Latest revision as of 09:30, 5 April 2025

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: End
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


The offset value of the final end frame index relative to the start frame.

When LoopCount=1, it is equivalent to the number of frames played by the Animation.

See Also

Animation Looping