Talk:Finding Entities (AMX Mod X)

From AlliedModders Wiki
Revision as of 10:19, 25 January 2006 by VEN (talk | contribs) (find_ent_by_owner notes is incorrect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

"This function also checks for classname, unless directed not to."


find_ent_by_owner always require an actual classname to be specified i believe. Though in some cases it would be usefull if it would be possible to skip this requirement somehow.

Also grenade example isn't good enough because (as i said before) it's necessary to specify classname i.e "grenade", but planted C4 also have this classname in CS. So in some cases function result could be an C4 entity id.