Added additional verbiage to init.c file

This commit is contained in:
Tyler Paul 2020-11-26 18:07:49 -05:00 committed by GitHub
parent 9aaa72b62b
commit 2c124eab84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,8 @@ class CustomMission: MissionServer
{
// enable/disable event system, min time between events, max time between events
m_EventManagerServer.OnInitServer( true, 600, 800 );
// registering events and their probability
// Register possible events along with their probability (0..1)
// any custom events MUST inherit from EventBase, otherwise they will fail to load!
m_EventManagerServer.RegisterEvent( Aurora, 1.0 );
m_EventManagerServer.RegisterEvent( Blizzard, 0.5 );
m_EventManagerServer.RegisterEvent( ExtremeCold, 0.4 );