OnServerActivate vs OnLevelInit
Posted: Sun Nov 26, 2017 12:44 am
by Speed0x
Code: Select all
OnServerActivate
Called when a map starts and the server is ready to accept clients.
OnLevelInit
Called when a map starts.
i dont really understand the labeling.
wouldnt this be better:
Code: Select all
OnServerActivate
Server is ready to accept clients.
OnLevelInit
Called when a map starts.
why does OnServerActivate include the assertion of OnLevelInit?..
Re: OnServerActivate vs OnLevelInit
Posted: Sun Nov 26, 2017 2:16 am
by Speed0x
ah nvm... i just tested....
OnLevelInit is called, when map load starts, and OnServerActivate is called when map load has finished.... i think someone could add this to the commentary so there is a little less confusion..
Re: OnServerActivate vs OnLevelInit
Posted: Sun Nov 26, 2017 1:21 pm
by BackRaw
Speed0x wrote:ah nvm... i just tested....
OnLevelInit is called, when map load starts, and OnServerActivate is called when map load has finished.... i think someone could add this to the commentary so there is a little less confusion..
Thanks for clearing it up. I had that question in mind as well.