[TF2] Do something when touching resupply closet
Hello everyone,
I've got a question. Is it possible to fire an event when a player is touching a resupply closet (when he gets ammo and health and such)? Any help with this is welcome. Thanks in advance. Regards, Ywa |
Re: [TF2] Do something when touching resupply closet
I've checked a few threads and I'm fairly sure the answers' no. The most you could probably do is hooking playanimation event of every prop dynamic. Or something. I dunno how they work.
|
Re: [TF2] Do something when touching resupply closet
Without an extension, no. I didnt see any game events pertaining to it although I thought there was one.
|
Re: [TF2] Do something when touching resupply closet
you can hook the entity output of the prop_dynamic and then make a while loop loking for the classname of the resupply cabinet.... something like this:
PHP Code:
anyway... this is the basic way of hooking ressuply cabinets |
Re: [TF2] Do something when touching resupply closet
Thanks CrancK!
|
Re: [TF2] Do something when touching resupply closet
Quote:
|
All times are GMT -4. The time now is 06:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.