# AISetUserString

FlagsNative

# Arguments

  • int — player
  • int — index
  • string — data

Returns — void

native void AISetUserString(
	int player,
	int index,
	string data,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeLowAI.galaxy:33

    int index = 1;
    while (index <= c_ldMaxArmyStockSize) {
        AISetUserString(player, index, c_nullString);
        AISetUserInt(player, index, 0);
        index = index + 1;