NumTargets (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Returns the number of entities this entity has targeted.

Usage

float numTargets()

Parameters

This script event does not accept parameters.

Examples

 
availTargets = $my_entity.numTargets();

Notes

This script event returns the number of entities this entity has targeted as a float.