From 2c124eab8463ddd5d73ec2029b56cdc4263b234f Mon Sep 17 00:00:00 2001 From: Tyler Paul Date: Thu, 26 Nov 2020 18:07:49 -0500 Subject: [PATCH] Added additional verbiage to init.c file --- Mission Files/regular.namalsk/init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mission Files/regular.namalsk/init.c b/Mission Files/regular.namalsk/init.c index f333cfb..30975e8 100644 --- a/Mission Files/regular.namalsk/init.c +++ b/Mission Files/regular.namalsk/init.c @@ -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 ); @@ -139,4 +140,4 @@ class CustomMission: MissionServer Mission CreateCustomMission(string path) { return new CustomMission(); -}; \ No newline at end of file +};