# Get Cloaked Attacker

Grammar — Position of the Nth player|# cloaked attacker
FlagsNative | Function

Returns the position of the last attack from a cloaked unit against a player specified by the Player parameter.

# Arguments

  • int — Player

Returns — point

native point AIGetCloakedAttacker(int p);

Category: AI Advanced / Tactical / Functions

# Examples

# mods/core.sc2mod

SharedAI.galaxy

// L9
AIGetCloakedAttacker(player)

# mods/core.sc2mod

TactTerrAI.galaxy

// L1057
AIGetCloakedAttacker(player)

# mods/core.stormmod

SharedAI.galaxy

// L9
AIGetCloakedAttacker(player)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L13084
AIGetCloakedAttacker(auto3F461774_var)

# mods/starcoop/starcoop.sc2mod

TactTerrAI.galaxy

// L1037
AIGetCloakedAttacker(player)

# mods/warcoop/warclassicsystem.sc2mod

TacticalAIWar3.galaxy

// L313
AIGetCloakedAttacker(player)