# AIAddDetectionDanger
Flags —
Native
# Arguments
int
— playerstring
— unitType
Returns — void
native void AIAddDetectionDanger(
int player,
string unitType,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:358
//--------------------------------------------------------------------------------------------------
void AIAddDetectionDangerUnits (int player) {
AIAddDetectionDanger(player, c_TU_WidowMine);
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:359
void AIAddDetectionDangerUnits (int player) {
AIAddDetectionDanger(player, c_TU_WidowMine);
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:360
AIAddDetectionDanger(player, c_TU_WidowMine);
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:361
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:362
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:363
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:364
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:365
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
AIAddDetectionDanger(player, c_ZU_Lurker);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:366
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
AIAddDetectionDanger(player, c_ZU_Lurker);
AIAddDetectionDanger(player, c_ZB_LurkerDen);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:367
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
AIAddDetectionDanger(player, c_ZU_Lurker);
AIAddDetectionDanger(player, c_ZB_LurkerDen);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:256
//--------------------------------------------------------------------------------------------------
void AIAddDetectionDangerCampaignUnits (int player) {
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TU_Wraith);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:257
void AIAddDetectionDangerCampaignUnits (int player) {
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TU_Wraith);
AIAddDetectionDanger(player, c_TU_Spectre);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:258
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TU_Wraith);
AIAddDetectionDanger(player, c_TU_Spectre);
AIAddDetectionDanger(player, c_TU_WidowMine_Alias);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:259
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TU_Wraith);
AIAddDetectionDanger(player, c_TU_Spectre);
AIAddDetectionDanger(player, c_TU_WidowMine_Alias);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:260
AIAddDetectionDanger(player, c_TU_Wraith);
AIAddDetectionDanger(player, c_TU_Spectre);
AIAddDetectionDanger(player, c_TU_WidowMine_Alias);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:261
AIAddDetectionDanger(player, c_TU_Spectre);
AIAddDetectionDanger(player, c_TU_WidowMine_Alias);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:262
AIAddDetectionDanger(player, c_TU_WidowMine_Alias);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:263
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:264
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/CampaignAI.galaxy:265
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:358
//--------------------------------------------------------------------------------------------------
void AIAddDetectionDangerUnits (int player) {
AIAddDetectionDanger(player, c_TU_WidowMine);
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:359
void AIAddDetectionDangerUnits (int player) {
AIAddDetectionDanger(player, c_TU_WidowMine);
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:360
AIAddDetectionDanger(player, c_TU_WidowMine);
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:361
AIAddDetectionDanger(player, c_TU_Ghost);
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:362
AIAddDetectionDanger(player, c_TU_Banshee);
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:363
AIAddDetectionDanger(player, c_TB_GhostAcademy);
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:364
AIAddDetectionDanger(player, c_TB_StarportTechLab);
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:365
AIAddDetectionDanger(player, c_PU_DarkTemplar);
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
AIAddDetectionDanger(player, c_ZU_Lurker);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:366
AIAddDetectionDanger(player, c_PB_DarkShrine);
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
AIAddDetectionDanger(player, c_ZU_Lurker);
AIAddDetectionDanger(player, c_ZB_LurkerDen);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:367
AIAddDetectionDanger(player, c_ZU_SwarmHost);
AIAddDetectionDanger(player, c_ZU_Locust);
AIAddDetectionDanger(player, c_ZU_Lurker);
AIAddDetectionDanger(player, c_ZB_LurkerDen);