Difference between revisions of "Talk:Finding Entities (AMX Mod X)"

From AlliedModders Wiki
Jump to: navigation, search
(find_ent_by_owner notes is incorrect)
 
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
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.
 
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.
 
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? -- [[User:Hawk552|Hawk552]]
 +
 +
::Yes, i noticed that tag. I just thought it would be better if author would fix it using my notes. --[[User:VEN|VEN]] 08:49, 26 January 2006 (EST)

Latest revision as of 07:49, 26 January 2006

"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)