Prop floor cube button: Difference between revisions

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


{{portal2 point|prop_floor_cube_button}} It is a floor button that is activated by a {{ent|prop_weighted_cube}}.
{{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}}.
{{clr}}
{{clr}}
==Keyvalues==
==Keyvalues==

Revision as of 08:57, 7 January 2024

English (en)Translate (Translate)

prop_floor_cube_button is an e0 available in Portal 2 Portal 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{portal2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Portal 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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