# AIDefaultSuspectDetectionDanger
Flags —
Native
# Arguments
int
— player
Returns — bool
native bool AIDefaultSuspectDetectionDanger(int player);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/SharedAI.galaxy:37
// default logic simply checks if we've seen any units of a type added with AIAddDetectionDanger
suspectDanger = AIDefaultSuspectDetectionDanger(player);
// script additions / override of the default
mods/core.stormmod — base.stormdata/TriggerLibs/SharedAI.galaxy:37
// default logic simply checks if we've seen any units of a type added with AIAddDetectionDanger
suspectDanger = AIDefaultSuspectDetectionDanger(player);
// script additions / override of the default
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:810
// Automatic Variable Declarations
// Implementation
return AIDefaultSuspectDetectionDanger(lp_player);
}