Prop floor cube button: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{portal2 point|prop_floor_cube_button}} {{screenshot}} A receiver for a weighed storage cube. Not to be confused with a [[prop_floor_button|normal butto…')
 
No edit summary
Line 3: Line 3:
{{screenshot}}
{{screenshot}}


==Entity description==
A receiver for a [[prop_weighted_cube|weighed storage cube]]. Not to be confused with a [[prop_floor_button|normal button]].
A receiver for a [[prop_weighted_cube|weighed storage cube]]. Not to be confused with a [[prop_floor_button|normal button]].


{{stub}}
==Keyvalues==
{{KV Targetname}}
{{KV Angles}}
{{KV|World model|studio}}
{{KV|Skin|integer|Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.}}
 
==Inputs==
{{I Targetname}}
{{I Angles}}
{{IO|PressIn|Presses the button}}
{{IO|PressOut|Unpresses the button}}
 
==Outputs==
{{O Targetname}}
{{IO|OnPressed|Fires when pressed.}}
{{IO|OnUnpressed|Fires when unpressed.}}

Revision as of 01:44, 5 May 2011

Template:Portal2 point

Nuvola apps ksnapshot.png
This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.

Entity description

A receiver for a weighed storage cube. Not to be confused with a normal button.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
World model ([todo internal name (i)]) <model path>
Skin ([todo internal name (i)]) <integer>
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.

Inputs

Template:I Angles

PressIn
Presses the button
PressOut
Unpresses the button

Outputs

OnPressed
Fires when pressed.
OnUnpressed
Fires when unpressed.