# MarkerSetMatchFlag
Flags —
Native
# Arguments
marker
— mint
— flagbool
— state
Returns — void
native void MarkerSetMatchFlag(
marker m,
int flag,
bool state,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAI.galaxy:239
marker AIMarker (unit aiUnit, string name) {
marker mark = MarkerCastingUnit(name, aiUnit);
MarkerSetMatchFlag(mark, c_markerMatchLink, true);
MarkerSetMatchFlag(mark, c_markerMatchCasterPlayer, true);
return mark;
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAI.galaxy:240
marker mark = MarkerCastingUnit(name, aiUnit);
MarkerSetMatchFlag(mark, c_markerMatchLink, true);
MarkerSetMatchFlag(mark, c_markerMatchCasterPlayer, true);
return mark;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAI.galaxy:239
marker AIMarker (unit aiUnit, string name) {
marker mark = MarkerCastingUnit(name, aiUnit);
MarkerSetMatchFlag(mark, c_markerMatchLink, true);
MarkerSetMatchFlag(mark, c_markerMatchCasterPlayer, true);
return mark;
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAI.galaxy:240
marker mark = MarkerCastingUnit(name, aiUnit);
MarkerSetMatchFlag(mark, c_markerMatchLink, true);
MarkerSetMatchFlag(mark, c_markerMatchCasterPlayer, true);
return mark;
}