IsKnownEnemyInRadius()


Module: AI
SP Only

Summary:

Checks if there is a known enemy in a radius for an AI.



Call this on:

<actor> An actor



Example:

if ( self IsKnownEnemyInRadius( pos, radius ) ) ...



Required Args:

  • 1 : <position> center of radius to check.
  • 2 : <radius> .