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