# AISawCloakedUnit

FlagsNative

# Arguments

  • int — p

Returns — bool

native bool AISawCloakedUnit(int p);

Category: Unclassified

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:13086

        auto3F461774_var = PlayerGroupNextPlayer(auto3F461774_g, auto3F461774_var);
        if (auto3F461774_var < 0) { break; }
        lv_aIHasSeenCloakedUnit = AISawCloakedUnit(auto3F461774_var);
        lv_cloakedAttacker_Current = AIGetCloakedAttacker(auto3F461774_var);
        if (((lv_aIHasSeenCloakedUnit == true) || (lv_cloakedAttacker_Current != null) || (libCOMI_gf_AISuspectDetectionDanger(auto3F461774_var) == true))) {