Talk:Finding Entities (AMX Mod X)

From AlliedModders Wiki
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.

Please fix this then. I've never used it before so I wouldn't know. Also notice the tag that I have on it that says I can't verify it? -- Hawk552
Yes, i noticed that tag. I just thought it would be better if author would fix it using my notes. --VEN 08:49, 26 January 2006 (EST)