2016-10-14 20:31:01 +00:00
|
|
|
/*[[[cog from arma_config_tools import *; json_to_arma()]]]*/
|
2015-12-07 16:24:52 +00:00
|
|
|
/*
|
2016-09-25 21:33:00 +00:00
|
|
|
@author = "Aaron Clark - https://EpochMod.com";
|
|
|
|
@contributors[] = {};
|
|
|
|
@description = "Master loop is a simple config based event scheduler that handles all time based player related tasks.";
|
|
|
|
@licence = "Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike";
|
|
|
|
@github = "https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgMasterLoop.hpp";
|
2015-12-07 16:24:52 +00:00
|
|
|
*/
|
2015-11-08 15:26:38 +00:00
|
|
|
class CfgMasterLoop
|
|
|
|
{
|
2016-09-25 21:33:00 +00:00
|
|
|
class Init
|
|
|
|
{
|
|
|
|
file = "epoch_code\compile\setup\masterLoop\init.sqf";
|
|
|
|
};
|
|
|
|
class Events
|
|
|
|
{
|
|
|
|
condition = "alive player";
|
|
|
|
file = "epoch_code\compile\setup\masterLoop";
|
2018-01-18 20:40:18 +00:00
|
|
|
class Event0
|
|
|
|
{
|
|
|
|
delay = 0.4;
|
|
|
|
};
|
2016-09-25 21:33:00 +00:00
|
|
|
class Event1
|
|
|
|
{
|
|
|
|
delay = 1;
|
|
|
|
};
|
|
|
|
class Event2
|
|
|
|
{
|
|
|
|
delay = 10;
|
|
|
|
};
|
|
|
|
class Event3
|
|
|
|
{
|
|
|
|
delay = 15;
|
|
|
|
};
|
|
|
|
class Event4
|
|
|
|
{
|
|
|
|
delay = 30;
|
|
|
|
};
|
|
|
|
class Event5
|
|
|
|
{
|
|
|
|
delay = 60;
|
|
|
|
};
|
|
|
|
class Event6
|
|
|
|
{
|
|
|
|
delay = 300;
|
|
|
|
};
|
|
|
|
class Event7
|
|
|
|
{
|
|
|
|
delay = 600;
|
|
|
|
};
|
2017-08-02 21:07:55 +00:00
|
|
|
class Event8
|
|
|
|
{
|
|
|
|
delay = 5; //used for FavBar, adjust as required
|
|
|
|
};
|
2017-10-21 22:35:53 +00:00
|
|
|
class Event9
|
|
|
|
{
|
|
|
|
delay = 2; //used for geiger counter UI
|
|
|
|
};
|
2016-09-25 21:33:00 +00:00
|
|
|
};
|
2015-11-08 15:26:38 +00:00
|
|
|
};
|
2016-09-25 21:33:00 +00:00
|
|
|
|
|
|
|
/*[[[end]]]*/
|