Switch (Portal 2)

From Valve Developer Community
Revision as of 14:08, 14 May 2011 by WinstonSmith (talk | contribs) (Clarified language a small amount.)
Jump to navigation Jump to search

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.