Switch (Portal 2)

From Valve Developer Community
Revision as of 04:17, 1 May 2011 by Sphelx (talk | contribs)
Jump to navigation Jump to search

== Button ==

The pillar style button

The tall, red, player activated buttons used in Portal 2 are very simple to create. The button is used to as a trigger for doors and many other entities in the game.

Creation

Firstly place a prop_button entity on the ground and position it where you want it. Add your desired outputs to it, it works just the same as the func_button entity so you should be familiar to you.


See also