all ent affected by func_button
how can i get all the ent affected/moved by a func_button. like in deathrun maps, i wanna know all the ents moved/affected after the player press the button
|
Re: all ent affected by func_button
PHP Code:
PHP Code:
PHP Code:
|
Re: all ent affected by func_button
this code isn't working well, i wanna detect all ent affected by this button and set their pev_iuser4 to the id. but this code doesn't detect the affected ent well.
edit: the ent found was the ent that affect all other buttons so if i understand it well it looks like this : func_button press > ent of the func_button is active > this ent active all other ents. |
Re: all ent affected by func_button
try to detect how the "ent of the func_button" affect all the other ents
|
Re: all ent affected by func_button
Ah now i know what you want.
It's because the multi_manager, the targets there can't be found with find_ent_by_target. |
Re: all ent affected by func_button
yea multi_manager targets, but find_ent_in_shpere doesn't help in my cause i dont need the to ent in a certain distance i need ent affected.
|
Re: all ent affected by func_button
It took my nerves, but finally i found a way how to do that. It's not the best way i think, but it works..
Example to remove all entities got triggered by the button: PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 10:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.