Prop floor cube button

From Valve Developer Community
Revision as of 12:00, 20 October 2022 by Kestrelguy (talk | contribs) (updated template usage.)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:Portal2 point 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