ACE3/addons/explosives/functions/fnc_module.sqf

32 lines
632 B
Plaintext
Raw Normal View History

/*
* Author: Garth 'L-H' de Wet
* Initialises the explosives module
*
* Arguments:
* Module things.
*
* Return Value:
* None
*
* Example:
* Called By BIS.
*
* Public: No
*/
#include "script_component.hpp"
if !(isServer) exitWith {};
2015-04-29 05:05:02 +00:00
private["_activated", "_logic"];
_logic = _this select 0;
_activated = _this select 2;
if !(_activated) exitWith {};
2015-04-06 20:10:00 +00:00
[_logic, QGVAR(RequireSpecialist), "RequireSpecialist"]
call EFUNC(Common,readSettingFromModule);
2015-04-06 20:10:00 +00:00
[_logic, QGVAR(PunishNonSpecialists),"PunishNonSpecialists"]
call EFUNC(Common,readSettingFromModule);
diag_log text "[ACE]: Explosive Module Initialized.";