How to check if correct entity get triggered.
Hello,
I need to check things like example when func_door get triggered on map it will call my function or some point entity get triggered then call my function. Question is how i do it? Thank you in advance! |
Re: How to check if correct entity get triggered.
Ham_Use?
|
Re: How to check if correct entity get triggered.
Quote:
|
Re: How to check if correct entity get triggered.
Yes, that will work for doors, breakables and etc...
|
Re: How to check if correct entity get triggered.
With hamsandwich you can hook Ham_Touch with class "func_door", you will get any touch, even when the door is moving and that no Touch function is set on that entity, therefore you will have to check togglestate.
If you use Rage module, you can only hook specific DoorTouch function that is only triggered when door is completely closed and something touches it, it also happens if door is completely opened and that door doesn't auto comeback. |
| All times are GMT -4. The time now is 00:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.