Facepunch/sandbox

Entering and leaving car entity makes Trigger volumes not consider players as clients

Tones3D opened this issue · 0 comments

Trigger volumes, like the ones used for automated door systems on maps, will no longer detect players the moment they enter a car entity, and persists after they exit the car. It would seem that they are then not considered clients

To Reproduce

  1. Create a simple map with a trigger_multiple with toolstrigger texture, and tie it to an ent_door brush entity, use default spawnflag for the trigger_multiple set to clients only.
  2. Test the map in s&box to verify that you can enter the volume to move the door
  3. spawn a car and enter it
  4. while in the car, you will no longer activate the trigger_multiple
  5. exiting the car will still no longer allow you to activate the trigger
  6. typing kill in console fixes this and you are then considered human again

Expected behavior

I'm not sure what you would all prefer, but I think it would be neat if we were still considered clients if we were in vehicles, to allow for automated garage doors.
Either way, thanks!