Entity links
So ...
Hi, everyone ... just a simple question: How to find out, which entity is another entity linked to? (E.g. which entity is some func_button triggering.) Cheers! |
Re: Entity links
pev_owner is the only thing I can think of that might help ( but I have very little experience playing with ents )
e.g. #include <fakemeta> ... new owner = pev(ent,pev_owner) ; |
Re: Entity links
I don't think so ...
I haven't seen other entites than user carried weapons with owner > 0. |
Re: Entity links
Sorry, then.
I think it is also used for dropped weapons ( their owner is the box that you collide with to pick them up ) EDIT: You could try SHP Tools and do a dump of the func_button ( and its related ent? [ where you know which one it is ] ) EDIT2: Just tried this on Assault with the camera buttons, and they use pev_target. |
Re: Entity links
Yes ... it does work for buttons ...
I've got func_button with target = A ... I've found a multi_manager with target_name = A ... But it has no target ... ! So that's where I finish :-) And there are hundreds of linked entities I need to remove - they're useless for the server. |
| All times are GMT -4. The time now is 11:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.