Prop under floor button: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{portal2 point|prop_under_floor_button}} {{screenshot}} ==Entity description== Underground Floor Button ==Keyvalues== {{KV Targetname}} {{KV Angles}} {{KV|World model|studio}…')
 
mNo edit summary
Line 9: Line 9:
{{KV Targetname}}
{{KV Targetname}}
{{KV Angles}}
{{KV Angles}}
{{KV PropDynamicBase}}
{{KV|World model|studio}}
{{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.}}
{{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.}}
==Flags==
{{Fl PropDynamicBase}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{I Angles}}
{{I Angles}}
{{I PropDynamicBase}}
{{IO|PressIn|Presses the button}}
{{IO|PressIn|Presses the button}}
{{IO|PressOut|Unpresses the button}}
{{IO|PressOut|Unpresses the button}}
Line 20: Line 25:
==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}
{{O PropDynamicBase}}
{{IO|OnPressed|Fired when pressed.}}
{{IO|OnPressed|Fired when pressed.}}
{{IO|OnUnpressed|Fires when unpressed.}}
{{IO|OnUnpressed|Fires when unpressed.}}

Revision as of 01:15, 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

Underground Floor 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.

Template:KV PropDynamicBase

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.

Flags

Template:Fl PropDynamicBase

Inputs

Template:I Angles Template:I PropDynamicBase

PressIn
Presses the button
PressOut
Unpresses the button

Outputs

Template:O PropDynamicBase

OnPressed
Fired when pressed.
OnUnpressed
Fires when unpressed.