Map Goal, Level End

Avatar
garion1
3 Posts
Posted May 14, 2011
I am testing a single player map I have made.
Which entity or trigger tells the player that they have reached the end of the map or level?
I can't seem to find this simple instruction anywhere.
Also, is it possible for this to happen when the player walks through a door and they hear a custom sound file?
I am sure there is this instruction somewhere. Please just point me to it.
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 14, 2011
Replied 9 hours later
Wrong forum.

game_end is what actually ends the map. You can also use a point_clientcommand and execute "disconnect". I don't know if there is another method.

ambient_generic will play your sound, just make sure it gets included (preferably using Pakrat or BSPZIP) with your map with you distribute.

Avatar
Joni
6 Posts
Posted May 16, 2011
Replied 2 days later
If you want to add an elevator, you can use the prop_instance's (guide somewhere around here)
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 16, 2011
Replied 25 minutes later
Check my signature, it has info on how to use the elevator instances.