Switch (Portal 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Clarified language a small amount.)
m (moved Button (Portal 2) to Switch (Portal 2): The "Button and Cube" page links to this.)
(No difference)

Revision as of 14:46, 16 May 2011

Template:Otherlang2

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 it should be familiar to you.