# AISetSubStateChanceRace
Flags —
Native
# Arguments
int
— subStateint
— randChanceint
— protChanceint
— terrChanceint
— zergChance
Returns — void
native void AISetSubStateChanceRace(
int subState,
int randChance,
int protChance,
int terrChance,
int zergChance,
);
# Related
Category: Unclassified
# Examples
# mods/liberty.sc2mod
// L185
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_FourGate, 25, 30, 20, 30 )
// L186
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_GateImmortal, 40, 30, 50, 40 )
// L187
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_StalkerBlink, 25, 30, 25, 15 )
// L188
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_DTRush, 10, 10, 5, 15 )
// L192
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_QuickExpGnd, 20, 10, 20, 20 )
// L193
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_GateExpGnd, 60, 70, 60, 60 )
// L194
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_DefenseExpGnd, 20, 20, 20, 20 )
// L208
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_QuickExpGnd, 25, 20, 30, 30 )
// L209
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_GateExpGnd, 70, 75, 65, 65 )
// L210
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_DefenseExpGnd, 5, 5, 5, 5 )
# mods/liberty.sc2mod
// L186
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_MMStim, 50, 45, 40, 35 )
// L187
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_HellionMarauder, 15, 10, 10, 35 )
// L188
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_MariSiege, 20, 30, 35, 15 )
// L189
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_CloakBanshee, 15, 15, 15, 15 )
// L193
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_QuickExpGnd, 15, 10, 20, 10 )
// L194
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_MarineExpGnd, 65, 70, 60, 70 )
// L195
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_DefenseExpGnd, 20, 20, 20, 20 )
// L211
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_QuickExpGnd, 20, 15, 25, 15 )
// L212
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_MarineExpGnd, 75, 80, 70, 80 )
// L213
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_DefenseExpGnd, 5, 5, 5, 5 )
# mods/liberty.sc2mod
// L178
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_LingBane, 30, 10, 50, 40 )
// L179
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_Roach, 40, 50, 40, 30 )
// L180
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_LingRoach, 30, 40, 10, 30 )
// L219
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_RoachHydra, 45, 60, 30, 45 )
// L220
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_RoachInfestor, 45, 30, 60, 40 )
// L221
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_Ultralisk, 5, 5, 5, 5 )
// L222
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_Broodlord, 5, 5, 5, 10 )
// L251
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_PureMuta, 5, 10, 5, 10 )
// L252
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_LingBaneMuta, 10, 5, 15, 15 )
// L253
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_FoodCapRoach, 15, 20, 15, 15 )
# mods/swarm.sc2mod
// L185
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_FourGate, 25, 30, 20, 30 )
// L186
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_GateImmortal, 40, 30, 50, 40 )
// L187
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_StalkerBlink, 25, 30, 25, 15 )
// L188
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_DTRush, 10, 10, 5, 15 )
// L192
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_QuickExpGnd, 20, 10, 20, 20 )
// L193
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_GateExpGnd, 60, 70, 60, 60 )
// L194
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_DefenseExpGnd, 20, 20, 20, 20 )
// L208
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_QuickExpGnd, 25, 20, 30, 30 )
// L209
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_GateExpGnd, 70, 75, 65, 65 )
// L210
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_DefenseExpGnd, 5, 5, 5, 5 )
# mods/swarm.sc2mod
// L186
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_MMStim, 50, 45, 40, 35 )
// L187
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_HellionMarauder, 15, 10, 10, 35 )
// L188
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_MariSiege, 20, 30, 35, 15 )
// L189
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_CloakBanshee, 15, 15, 15, 15 )
// L193
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_QuickExpGnd, 15, 10, 20, 10 )
// L194
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_MarineExpGnd, 65, 70, 60, 70 )
// L195
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_DefenseExpGnd, 20, 20, 20, 20 )
// L211
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_QuickExpGnd, 20, 15, 25, 15 )
// L212
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_MarineExpGnd, 75, 80, 70, 80 )
// L213
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_DefenseExpGnd, 5, 5, 5, 5 )
# mods/swarm.sc2mod
// L180
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_LingBane, 30, 10, 50, 40 )
// L181
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_Roach, 40, 50, 40, 30 )
// L182
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_LingRoach, 30, 40, 10, 30 )
// L221
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_RoachHydra, 45, 65, 25, 45 )
// L222
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_RoachInfestor, 45, 25, 65, 40 )
// L223
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_Ultralisk, 5, 5, 5, 5 )
// L224
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_Broodlord, 5, 5, 5, 10 )
// L253
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_PureMuta, 5, 10, 5, 10 )
// L254
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_LingBaneMuta, 10, 5, 15, 15 )
// L255
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_FoodCapRoach, 15, 20, 15, 15 )
# mods/void.sc2mod
// L184
AISetSubStateChanceRace( e_hdBuildIndex_POpenRush_ZealotStalker, 35, 70, 25, 20 )
// L185
AISetSubStateChanceRace( e_hdBuildIndex_POpenRush_Adept, 65, 30, 75, 80 )
// L189
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_FourGate, 20, 25, 15, 20 )
// L190
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_Adept, 25, 15, 35, 30 )
// L191
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_GateImmortal, 25, 25, 30, 25 )
// L192
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_StalkerBlink, 20, 25, 15, 10 )
// L193
AISetSubStateChanceRace( e_hdBuildIndex_POpenTiming_DTRush, 10, 10, 5, 15 )
// L197
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_QuickExpGnd, 20, 10, 20, 20 )
// L198
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_GateExpGnd, 60, 70, 60, 60 )
// L199
AISetSubStateChanceRace( e_hdBuildIndex_POpenPowerMacro_DefenseExpGnd, 20, 20, 20, 20 )
# mods/void.sc2mod
// L188
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_MMStim, 50, 45, 40, 35 )
// L189
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_HellionMarauder, 15, 10, 10, 35 )
// L190
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_MariSiege, 20, 30, 35, 15 )
// L191
AISetSubStateChanceRace( e_hdBuildIndex_TOpenTiming_CloakBanshee, 15, 15, 15, 15 )
// L195
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_QuickExpGnd, 15, 10, 20, 10 )
// L196
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_MarineExpGnd, 65, 70, 60, 70 )
// L197
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_DefenseExpGnd, 20, 20, 20, 20 )
// L213
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_QuickExpGnd, 20, 15, 25, 15 )
// L214
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_MarineExpGnd, 75, 80, 70, 80 )
// L215
AISetSubStateChanceRace( e_hdBuildIndex_TOpenPowerMacro_DefenseExpGnd, 5, 5, 5, 5 )
# mods/void.sc2mod
// L186
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_LingBane, 30, 10, 50, 40 )
// L187
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_Roach, 40, 50, 40, 30 )
// L188
AISetSubStateChanceRace( e_hdBuildIndex_ZOpenTiming_LingRoach, 30, 40, 10, 30 )
// L227
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_RoachHydra, 40, 60, 20, 40 )
// L228
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_RoachInfestor, 40, 20, 60, 35 )
// L229
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_HydraLurker, 10, 10, 10, 10 )
// L230
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_Ultralisk, 5, 5, 5, 5 )
// L231
AISetSubStateChanceRace( e_hdBuildIndex_ZMidMacro_Broodlord, 5, 5, 5, 10 )
// L260
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_PureMuta, 5, 10, 5, 5 )
// L261
AISetSubStateChanceRace( e_hdBuildIndex_ZMidPower_LingBaneMuta, 10, 5, 15, 10 )