Jump to content

Best Places for entry points


Recommended Posts

Game.SetGameStarted() looks interesting. It appears to not be saved and it starts as false and this method sets it to true. It can't revert to false.

Together with Game.GameStarted(), it adds something, which sounds really useful in multiple cases. I just found it, but I'm already wondering if I can use it in OnSpawn.

Link to comment
Share on other sites

I followed the Game.SetGameStarted() to where its used. It seems to work great for knowing when the map has finished loading.

If what you need is specifically when a new game first has its map loaded, another possible candidate is the WattsonMessage class. WattsonMessage.OnActivate() will always be called when a new world is finished generating and the dupes have been selected. Hooking a prefix into that method would likely work great.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...