Switch (Portal 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(removed see also, already covered by category)
m (Clarified language a small amount.)
Line 6: Line 6:


==Creation==
==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.
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.


[[Category:Portal 2 Level Design]]
[[Category:Portal 2 Level Design]]
[[Category:Portal 2 Tutorials]]
[[Category:Portal 2 Tutorials]]

Revision as of 14:08, 14 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.