Page 1 of 1

HL2DM End of Map

Posted: Wed Jan 04, 2017 10:22 am
by Kami
Hey guys I have yet another question!

I've been trying to find a way to find the exact point in HL2DM where the final scoreboard on a map pops up and you cannot move.

The ultimate goal is to create a "nextmap" variable, that changes the map, before the server does it on its own.

I've tried OnLevelShutdown and OnLevelEnd which both seem to fire after host_changelevel:

Image

Any hints in what direction to look maybe? Thank you :)

Re: HL2DM End of Map

Posted: Wed Jan 04, 2017 12:14 pm
by Ayuto
You could create a changelevel hook. E.g.:
https://github.com/Ayuto/EventScripts-E ... #L431-L448

Re: HL2DM End of Map

Posted: Wed Jan 04, 2017 12:48 pm
by Kami
Thank you very much this was a great idea! Works like a charm :)