ACE3/addons/explosives/functions/fnc_module.sqf

27 lines
603 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"
2015-04-29 05:05:02 +00:00
2015-08-15 19:35:33 +00:00
if !(isServer) exitWith {};
2015-08-15 19:35:33 +00:00
params ["_logic"];
2015-08-15 19:35:33 +00:00
[_logic, QGVAR(RequireSpecialist), "RequireSpecialist"] call EFUNC(Common,readSettingFromModule);
[_logic, QGVAR(PunishNonSpecialists),"PunishNonSpecialists"] call EFUNC(Common,readSettingFromModule);
[_logic, QGVAR(ExplodeOnDefuse),"ExplodeOnDefuse"] call EFUNC(Common,readSettingFromModule);
INFO("Explosive Module Initialized.");