GetRacialTypeCount(int)

Determines the number of creatures of a race within 20 meters.

int GetRacialTypeCount(
    int nRacialType
);

Parameters

nRacialType

RACIAL_TYPE_*


Description

Returns the number of targets within 20m that are of the specified racial-type.



Requirements

#include "x0_i0_enemy"

Version

1.22

See Also

categories: Core AI Functions
constants: RACIAL_TYPE_* Constants


 author: Tom Cassiotis, editor: Mistress