Jump to content

RandomSelectionWeight

From ModEnc²
Revision as of 04:05, 25 August 2024 by en>Testid123 (Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|Rules(md).ini}} |values={{Values|integer}} |default=1 |types=Country |ares=yes |aresflag=yes }} Specifies how likely it is that th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RandomSelectionWeight
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 1
Applicable to: Country

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



Specifies how likely it is that this country will be randomly selected when a player chooses ‘Random’. The probability of this country being picked is calculated by dividing this country’s RandomSelectionWeight value by the sum of all Multiplay=yes countries’ RandomSelectionWeight values.