end a single player game Created 17 years ago2007-04-27 09:48:34 UTC by ShinReiga ShinReiga

Created 17 years ago2007-04-27 09:48:34 UTC by ShinReiga ShinReiga

Posted 17 years ago2007-04-27 09:48:34 UTC Post #220237
does anyone know if there is a counterpart to the "end game" entity in a HL2 mod? the end game function only works for multiplayer so i heard, and i have made a single player one.

cheers
Posted 17 years ago2007-04-27 10:18:22 UTC Post #220240
Well I read the Wiki and like you said it doesn't work in SP:

http://developer.valvesoftware.com/wiki/Game_end

So I can only suggest using an entity that inputs console commands and make it so that console inputs end map or something along those lines. You'll have to do more research on it since I'm only briefly coming up with this idea.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2007-04-27 10:19:41 UTC Post #220241
sweet ... nice one mate cheers
Posted 17 years ago2007-04-27 10:29:02 UTC Post #220244
I believe the console command "disconnect" would quit to the main menu in SP as well. Could be wrong.
Posted 17 years ago2007-04-27 10:29:33 UTC Post #220245
so if i was to make a button...then link that to a point_clientcommand...
is it in the overide part of the button settings that i would type "quit"?

no worries if you dont know .. im sure and little trial and error will sort it...
Posted 17 years ago2007-04-27 10:36:04 UTC Post #220246
ha no worries that worked in the end...
cheers
Posted 17 years ago2007-04-27 11:48:17 UTC Post #220264
So was it quit then that closed the map or was it disconnect? Glad we could help.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2007-04-27 15:35:54 UTC Post #220289
I wish I'd seen this earlier .... hehe .... I'd love to answer a million questions in here but by the time I get to the threads, the question's already answered! :P
You must be logged in to post a response.