find_ent_by_target
Engine (engine.inc)
Description
find_ent_by_target - Finds an entity in the world by target, returning the index.
Syntax
find_ent_by_target ( StartEntity, Classname[] )
Type
Native
Notes
If none is found, 0 is returned. If starting entity should not be specified, use -1.