Skip to content

feat: Add func_touch #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Panzerhandschuh
Copy link

No description provided.

@Panzerhandschuh Panzerhandschuh merged commit e0afbbe into StrataSource:master Aug 1, 2024
2 checks passed
Comment on lines +1 to +5
@SolidClass base(BaseEntityVisBrush, trigger_multiple)
= func_touch: "A brush entity that triggers touch events."
[

]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trigger_multiple does have the Enable/Disable/Toggle inputs, but their descriptions use the word "trigger". I think you can override those like this (this is the same description func_brush has for Toggle):

Suggested change
@SolidClass base(BaseEntityVisBrush, trigger_multiple)
= func_touch: "A brush entity that triggers touch events."
[
]
@SolidClass base(BaseEntityVisBrush, trigger_multiple, EnableDisable)
= func_touch: "A brush entity that triggers touch events."
[
input Toggle(void) : "Toggle visibility/solidity of this brush."
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants