forked from TeamSpen210/HammerAddons
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathBasePortButton.fgd
More file actions
21 lines (19 loc) · 1.09 KB
/
BasePortButton.fgd
File metadata and controls
21 lines (19 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@BaseClass base(BaseEntityAnimating)
= BasePortButton: "The base for the various floor buttons - weighted, cube, sphere and Antique weighted."
[
suppressanimsounds(boolean) : "Suppress Animation Sounds" : 0 : "Prevent the model from playing any sounds."
solid(choices) : "Collisions" : 0 : "Determine if the button should be solid or not." =
[
0 : "Solid"
1 : "Non-Solid"
]
filtername(filterclass) : "Filter Name" : : "A filter entity that restricts which things can press the button. If set, the builtin filtering is disabled."
// Inputs
input PressIn(void) : "Activate the button as if it was pressed, sending it to the bottom position."
input PressOut(void) : "Release the button, sending it to the top position."
// Outputs
output OnPressed(void) : "Called when the button has been pressed."
output OnUnPressed(void) : "Called when the button has been released."
output OnPressedPlayer[engine](void) : "Called when the button is pressed by a player - useless on cube/sphere buttons."
output OnPressedCube(void) : "Called when the button is pressed by a cube (specifically a non-player)."
]