Please or Register to create posts and topics.

Game_end trigger

Hi.

I've been working on my first map for a few days now, and I'm finally confident that it's ready to be re-textured, lighted, and whatever else needs to be done. My only problem at this time is... I have a game_end trigger set up at the end of my level, but for some reason, the game doesn't end when the trigger goes off. I know the trigger goes off, because the sound I have set plays. It just doesn't want to close at that point. How would I go about fixing this?

Image

use a client_command

call it something like "end"

make a trigger_once at the end of your map

tell the trigger to "command" the client_command with a perameter overide of "disconnect"

that should end your level

Thank you very much.

Image

oh, yeh, Welcome to the forum.

You probably want an env_fade triggered before you fire the client command, just to help the player know that its the end of the level and not just crashed