Prop floor cube button: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{lang|{{PAGENAME}}}}[[File:prop_floor_cube_button.png|right|thumb|Model of a <tt>[[prop_floor_cube_button]]</tt>.]]
{{lang|{{PAGENAME}}}}[[File:prop_floor_cube_button.png|right|thumb|Model of a <tt>[[prop_floor_cube_button]]</tt>.]]


{{this is a|e0|game=portal2|name=prop_floor_cube_button}} It is a floor button that is activated by a {{ent|prop_weighted_cube}}.
{{this is a|point entity|game=Portal 2|name=prop_floor_cube_button}} It is a floor button that is activated by a {{ent|prop_weighted_cube}}.
{{clr}}
{{clr}}
==Keyvalues==
==Keyvalues==

Revision as of 18:06, 17 May 2024

English (en)Translate (Translate)

prop_floor_cube_button is a point entity available in Portal 2 Portal 2. It is a floor button that is activated by a prop_weighted_cube.

Keyvalues

SuppressAnimSounds ([todo internal name (i)]) <boolean> !FGD
Prevent the button from playing any sounds.
Accepts Balls ([todo internal name (i)]) <boolean>
If this button gets activated by the spherical cubes? Should always be False.
Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history

Inputs

PressIn
Activate the button as if it was pressed, sending it to the bottom position.
PressOut
Unpress the button, sending it to the top position.
Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history

Outputs

OnPressed
Called when the button has been pressed.
OnUnPressed
Called when the button has been unpressed.
Note.pngNote:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history