Check when a user is "inside" a trigger_* entity?
I have a bunch of "trigger_once" entity's around my map.
I would like to check when a user is "inside" one of these triggers. I can easily check when they "touched" it. But how will I know when they "exit" the trigger? |
Re: Check when a user is "inside" a trigger_* entity?
|
Re: Check when a user is "inside" a trigger_* entity?
Quote:
|
Re: Check when a user is "inside" a trigger_* entity?
Check touch and have a delay check for touching.
When player touches the entity, remove the touch task and set a new touch task to 0.1. When the task function is called, the player is no longer touching the entity. |
All times are GMT -4. The time now is 13:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.