func_button #
New parameters #
Player use policy
- choose an algorithm of detecting if player can use a button.Custom sounds (including locked and unlocked sounds and sentences).
- New parameter
Use Type
to set the passed use type to a button’s target (On or Off).
New spawnflags #
Direct use only
- require a direct non-occluded view of entity in order to use it (superceded by a new parameterPlayer use policy
)New flag
Player Can't Use
to disallow player use (button still can be called via other entities)