Prop floor cube button

From Valve Developer Community
Revision as of 01:44, 5 May 2011 by Barracuda (talk | contribs)
Jump to navigation Jump to search

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.