COG Message - Startup

Startup is sent to all cogs after a level has loaded and just before you can see anything. It is called shortly before the loading message.

Sender: None.
Source: None.
Sender Type: None.
Source Type: None.

Because startup runs before the game fully sets up, there are certain things that cannot be done at startup - such as working with models. If you encounter one of these problems, use a short sleep to wait until the game has finished loading. However, putting a sleep in the startup handler is not a fix-all solution for errors.

  • Create:
This page was last modified 03:29, 20 December 2005.   This page has been accessed 217 times.