Prop floor cube button: Difference between revisions
Jump to navigation
Jump to search

Note:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history
TeamSpen210 (talk | contribs) (Document Suppress Animation Sounds kyevalue) |
Kestrelguy (talk | contribs) m (updated template usage.) |
||
Line 1: | Line 1: | ||
[[File:prop_floor_cube_button.png|right|thumb|Model of a prop_floor_cube_button | {{lang|{{PAGENAME}}}} | ||
[[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}}. | |||
{{clr}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|SuppressAnimSounds|bool|Prevent the button from playing any sounds.|nofgd=1}} | {{KV|SuppressAnimSounds|bool|Prevent the button from playing any sounds.|nofgd=1}} | ||
{{KV|Accepts Balls|boolean|If this button gets activated by the spherical cubes? Should always be False.}} | {{KV|Accepts Balls|boolean|If this button gets activated by the spherical cubes? Should always be False.}} | ||
{{KV | {{KV BaseEntity|l4d=1|noscroll=0}} | ||
{{KV | {{KV BaseAnimating|portal2=1|noscroll=0}} | ||
==Inputs== | ==Inputs== | ||
{{IO|PressIn|Activate the button as if it was pressed, sending it to the bottom position.}} | {{IO|PressIn|Activate the button as if it was pressed, sending it to the bottom position.}} | ||
{{IO|PressOut|Unpress the button, sending it to the top position.}} | {{IO|PressOut|Unpress the button, sending it to the top position.}} | ||
{{I | {{I BaseEntity|as=1|noscroll=0}} | ||
{{I | {{I BaseAnimating|portal2=1|tf2=|noscroll=0}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnPressed|Called when the button has been pressed.}} | {{IO|OnPressed|Called when the button has been pressed.}} | ||
{{IO|OnUnPressed|Called when the button has been unpressed.}} | {{IO|OnUnPressed|Called when the button has been unpressed.}} | ||
{{O | {{O BaseEntity}} | ||
{{O BaseAnimating|portal2=1}} |
Revision as of 12:00, 20 October 2022



Model of a prop_floor_cube_button.
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.

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.

Outputs
- OnPressed
- Called when the button has been pressed.
- OnUnPressed
- Called when the button has been unpressed.
