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