%getOpponents()

Aliases%getOpponents( )
Parameterscharacter @entity

    Returns an associative array of all the creatures currently attacking the
target character entity. This is in contrast to the %getOpponent( )
function because the %getOpponent( ) function returns the creature that
the character is attacking. Character entity may be a character pointer
or keyword.

Example:

kick %arrayShuffle( %getOpponents( @this ) )->1