Portal 2 vote page

From Valve Developer Community
Revision as of 19:57, 20 March 2013 by Ldinos (talk | contribs) (Created page with "To make the vote screen appear, you will need to use either triggers or buttons (cube/ball/normal). In other words, you need something to activate it. ==With prop_button== #Plac...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To make the vote screen appear, you will need to use either triggers or buttons (cube/ball/normal). In other words, you need something to activate it.

With prop_button

  1. Place a prop_button, using the entity tool.
  2. Place a func_instance, using an entity tool aswell and go to its properties. Do the following changes:
Property Value
Fix Up Name Vote_screen
VMF Filename instances/p2editor/global_pti_ents.vmf

3. In prop_button's properties, go to Outputs tab and Add the following:

My Output Target Entity Target Input Delay Only Once
OnPressed Vote_screen instance:@relay_pti_level_end;Trigger 0.00 Yes