# AISetUserString
Flags —
Native
# Arguments
int
— playerint
— indexstring
— data
Returns — void
native void AISetUserString(
int player,
int index,
string data,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:33
int index = 1;
while (index <= c_ldMaxArmyStockSize) {
AISetUserString(player, index, c_nullString);
AISetUserInt(player, index, 0);
index = index + 1;