What entity or trigger do you use to end a single player game? I know the entity "game_end" is used to end a multiplayer game, so what do you use to end a single player game? Thanks.
1
Re: Portal 2: How to end single player game
Posted by Niborius on Wed Aug 1st at 7:09am 2012
Posted by Niborius on Wed Aug 1st at 7:09am 2012
Oh I know this one fortunately.
There's an entity that I believe is called "point_servercommand"
You can put it anywhere in the map, but you must trigger it at the end of the map, using a trigger_once for example. Your trigger_once entity must have an output that refers to the point_servercommand entity (So you must give that entity a name).
In the (possibly) last textfield you'll type "disconnect"
What this basically does, is the entity types in a command for you in the console.
That's how I did the slow-motion part in my level
I hope I recalled this correctly, because I may be a little bit off.
Good luck!
There's an entity that I believe is called "point_servercommand"
You can put it anywhere in the map, but you must trigger it at the end of the map, using a trigger_once for example. Your trigger_once entity must have an output that refers to the point_servercommand entity (So you must give that entity a name).
In the (possibly) last textfield you'll type "disconnect"
What this basically does, is the entity types in a command for you in the console.
That's how I did the slow-motion part in my level
I hope I recalled this correctly, because I may be a little bit off.
Good luck!
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: Portal 2: How to end single player game
Posted by Necromancer on Wed Aug 1st at 7:47pm 2012
Posted by Necromancer on Wed Aug 1st at 7:47pm 2012
Thanks, I'll try that for my next level. (My first map is posted now: Subject 12)
Do you remember what command you inserted for this effect? Thanks!
Quote
That's how I did the slow-motion part in my level
Do you remember what command you inserted for this effect? Thanks!
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0292 seconds.

Snarkpit v6.1.0 created this page in 0.0292 seconds.


