Jump to content

ListIndex

From ModEnc²
Revision as of 21:56, 31 March 2025 by MarkJFox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ListIndex
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 100
Applicable to: Country

This flag is part of Ares. Do not use it without Ares installed.



Specifies which position this country should appear in the country dropdown list. If two or more countries use the same ListIndex, the order is defined by their appearance in the Countries enumeration. Countries with negative values will not appear in the dropdown list; you can use this to effectively hide countries without having to change the Countries list and thus without risking game crashes. To also prevent such countries from being selected randomly, set RandomSelectionWeight=0.