Map switch

Avatar
screedle
39 Posts
Posted May 30, 2010
plain and simple, I have looked all over the internet and cannot figure this out.
How do i get a map to change, like in the elevators in the main game?
Advertisement
Registered users don’t see ads! Register now!
Avatar
HMW
806 Posts
Posted May 30, 2010
Replied 3 hours later
To change to a different map, use trigger_changelevel. When you use this with an elevator, set the "Disable Touch" flag and send it a "ChangeLevel" signal when the elevator reaches the top.

Things to note:
- You must put a trigger_changelevel in the next map referring back to the previous one, even if the transition is one-way.- Enclose the area where the elevator stops (in the map you're coming from) in a trigger_transition to prevent things from the previous map appearing in the next.- Read the reference pages on both entities carefully so you know how to set everything up.
Valve's developer site contains a tutorial on creating the elevator itself.

Hope this helps; good luck with your map(s)!