Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions fgd/bases/BasePortButton.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
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."
Expand All @@ -15,4 +16,6 @@
// 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)."
]
1 change: 1 addition & 0 deletions fgd/point/prop/prop_floor_button.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
]

// Outputs
output OnPressedPlayer(void) : "Called when the button has been pressed by any player."
output OnPressedBlue(void) : "Called in Coop when the button has been pressed by ATLAS."
output OnPressedOrange(void) : "Called in Coop when the button has been pressed by P-Body."
]
1 change: 1 addition & 0 deletions fgd/point/prop/prop_under_floor_button.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
model(studio) : "Button model" : "models/props_underground/underground_floor_button.mdl" : "The model to be used in game"

// Outputs
output OnPressedPlayer(void) : "Called when the button has been pressed by any player."
output OnPressedBlue(void) : "Called in Coop when the button has been pressed by ATLAS."
output OnPressedOrange(void) : "Called in Coop when the button has been pressed by P-Body."
]