# AIGetUserInt

FlagsNative

# Arguments

  • int — player
  • int — index

Returns — int

native int AIGetUserInt(int player, int index);

Category: Unclassified

# Examples

# mods/core.sc2mod

MeleeBuildAI.galaxy

// L130
AIGetUserInt(player, c_openingBuildType)
// L176
AIGetUserInt(player, c_lateGameBuildType)
// L206
AIGetUserInt(player, c_numGroundStartLocs)
// L299
AIGetUserInt(player, c_numGroundStartLocs)
// L410
AIGetUserInt(player, c_openingBuildType)
// L411
AIGetUserInt(player, c_currentBuildIndex)
// L417
AIGetUserInt(player, c_openingBuildType)
// L429
AIGetUserInt(player, c_openingBuildType)
// L540
AIGetUserInt(player, c_lateGameBuildType)
// L572
AIGetUserInt(player, c_openingBuildType)

# mods/core.sc2mod

MeleeHighAI.galaxy

// L225
AIGetUserInt(player, c_numGroundStartLocs)
// L241
AIGetUserInt(player, c_numGroundStartLocs)

# mods/core.sc2mod

MeleeLowAI.galaxy

// L49
AIGetUserInt(player, index)
// L64
AIGetUserInt(player, index)
// L80
AIGetUserInt(player, index)
// L94
AIGetUserInt(player, index)
// L114
AIGetUserInt(player, c_openingBuildType)
// L279
AIGetUserInt(player, c_openingBuildType)
// L314
AIGetUserInt(player, c_ldNextArmyPhase)
// L315
AIGetUserInt(player, c_ldNextArmyDuration)
// L316
AIGetUserInt(player, c_nextArmyTime)

# mods/core.sc2mod

MeleeWaveAI.galaxy

// L760
AIGetUserInt(player, c_delayNextAttack)

# mods/liberty.sc2mod

ProtossChIn.galaxy

// L49
AIGetUserInt(player, c_currentBuildIndex)
// L78
AIGetUserInt(player, c_numGroundStartLocs)
// L89
AIGetUserInt(player, c_currentBuildIndex)
// L2112
AIGetUserInt(player, c_numGroundStartLocs)

# mods/liberty.sc2mod

ProtossChRe.galaxy

// L19
AIGetUserInt(player, c_currentBuildIndex)
// L48
AIGetUserInt(player, c_numGroundStartLocs)
// L59
AIGetUserInt(player, c_currentBuildIndex)

# mods/liberty.sc2mod

ProtossChVi.galaxy

// L19
AIGetUserInt(player, c_currentBuildIndex)
// L48
AIGetUserInt(player, c_numGroundStartLocs)
// L59
AIGetUserInt(player, c_currentBuildIndex)

# mods/liberty.sc2mod

ProtossEasy.galaxy

// L13
AIGetUserInt(player, c_openingBuildType)
// L15
AIGetUserInt(player, c_lateGameBuildType)
// L131
AIGetUserInt(player, c_openingBuildType)
// L141
AIGetUserInt(player, c_openingBuildType)
// L142
AIGetUserInt(player, c_ldNextArmyRoll)
// L143
AIGetUserInt(player, c_nextArmyTime)
// L338
AIGetUserInt(player, c_openingBuildType)
// L352
AIGetUserInt(player, c_openingBuildType)
// L353
AIGetUserInt(player, c_ldNextArmyRoll)
// L354
AIGetUserInt(player, c_nextArmyTime)

# mods/liberty.sc2mod

ProtossHard.galaxy

// L13
AIGetUserInt(player, c_openingBuildType)
// L15
AIGetUserInt(player, c_lateGameBuildType)
// L257
AIGetUserInt(player, c_openingBuildType)
// L267
AIGetUserInt(player, c_openingBuildType)
// L268
AIGetUserInt(player, c_ldNextArmyRoll)
// L269
AIGetUserInt(player, c_nextArmyTime)
// L543
AIGetUserInt(player, c_openingBuildType)
// L557
AIGetUserInt(player, c_openingBuildType)
// L558
AIGetUserInt(player, c_ldNextArmyRoll)
// L559
AIGetUserInt(player, c_nextArmyTime)

# mods/liberty.sc2mod

ProtossHdVH.galaxy

// L49
AIGetUserInt(player, c_currentBuildIndex)
// L78
AIGetUserInt(player, c_numGroundStartLocs)
// L89
AIGetUserInt(player, c_currentBuildIndex)
// L2111
AIGetUserInt(player, c_numGroundStartLocs)

# mods/liberty.sc2mod

ProtossHigh.galaxy

// L309
AIGetUserInt(player, c_openingBuildType)
// L316
AIGetUserInt(player, c_specificLobbyBuild)
// L338
AIGetUserInt(player, c_currentBuildIndex)
// L344
AIGetUserInt(player, c_currentBuildIndex)
// L355
AIGetUserInt(player, c_currentBuildIndex)
// L446
AIGetUserInt(player, c_openingBuildType)
// L447
AIGetUserInt(player, c_currentBuildIndex)
// L454
AIGetUserInt(player, c_specificLobbyBuild)
// L517
AIGetUserInt(player, c_lateGameBuildType)
// L518
AIGetUserInt(player, c_currentBuildIndex)

# mods/liberty.sc2mod

ProtossMdHd.galaxy

// L13
AIGetUserInt(player, c_openingBuildType)
// L15
AIGetUserInt(player, c_lateGameBuildType)
// L222
AIGetUserInt(player, c_openingBuildType)
// L232
AIGetUserInt(player, c_openingBuildType)
// L233
AIGetUserInt(player, c_ldNextArmyRoll)
// L234
AIGetUserInt(player, c_nextArmyTime)
// L505
AIGetUserInt(player, c_openingBuildType)
// L519
AIGetUserInt(player, c_openingBuildType)
// L520
AIGetUserInt(player, c_ldNextArmyRoll)
// L521
AIGetUserInt(player, c_nextArmyTime)

# mods/liberty.sc2mod

ProtossMedi.galaxy

// L13
AIGetUserInt(player, c_openingBuildType)
// L15
AIGetUserInt(player, c_lateGameBuildType)
// L188
AIGetUserInt(player, c_openingBuildType)
// L198
AIGetUserInt(player, c_openingBuildType)
// L199
AIGetUserInt(player, c_ldNextArmyRoll)
// L200
AIGetUserInt(player, c_nextArmyTime)
// L418
AIGetUserInt(player, c_openingBuildType)
// L432
AIGetUserInt(player, c_openingBuildType)
// L433
AIGetUserInt(player, c_ldNextArmyRoll)
// L434
AIGetUserInt(player, c_nextArmyTime)

# mods/liberty.sc2mod

ProtossVyEy.galaxy

// L13
AIGetUserInt(player, c_openingBuildType)
// L15
AIGetUserInt(player, c_lateGameBuildType)
// L113
AIGetUserInt(player, c_openingBuildType)
// L123
AIGetUserInt(player, c_openingBuildType)
// L124
AIGetUserInt(player, c_ldNextArmyRoll)
// L125
AIGetUserInt(player, c_nextArmyTime)
// L305
AIGetUserInt(player, c_openingBuildType)
// L319
AIGetUserInt(player, c_openingBuildType)
// L320
AIGetUserInt(player, c_ldNextArmyRoll)
// L321
AIGetUserInt(player, c_nextArmyTime)

# mods/liberty.sc2mod

ProtossVyHd.galaxy

// L82
AIGetUserInt(player, c_currentBuildIndex)
// L111
AIGetUserInt(player, c_numGroundStartLocs)
// L122
AIGetUserInt(player, c_currentBuildIndex)
// L2142
AIGetUserInt(player, c_numGroundStartLocs)