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

ListIndex

From ModEnc
Jump to navigation Jump to search
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: 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.