# AICloakEvaluate

FlagsNative

# Arguments

  • unit — u
  • fixed — minEnergy
  • fixed — maxLife
  • fixed — range

Returns — bool

native bool AICloakEvaluate(
	unit u,
	fixed minEnergy,
	fixed maxLife,
	fixed range,
);

Category: Unclassified

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:558

        }
    } else {
        if (isCloaked == AICloakEvaluate(aiUnit, 50, 120, 10)) {
            return;
        }