> I want to have a screen fade in place from the moment the level > begins. Is there a way to send a message to clients as soon > as they start up? > > (The obvious approach is to do it with think functions, but it's > really unreliable: If I set a delay below about 1 second, the > client sometimes doesn't start up in time. And a delay of more > than one second is pretty noticeable for the player.)
The CBasePlayer::Spawn() function will call the gamerules PlayerSpawn() function when the player spawns into the map. For single player, this should wind up in CHalfLifeRules::PlayerSpawn() (which is by default empty). You could send your screen fade message from the PlayerSpawn() function and this wouldn't effect multiplayer. Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

