mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
29 lines
627 B
Plaintext
29 lines
627 B
Plaintext
/*
|
|
Name: ACE_Explosives_fnc_module
|
|
|
|
Author: Garth de Wet (LH)
|
|
|
|
Description:
|
|
Initialises the explosives module
|
|
|
|
Parameters:
|
|
Things
|
|
|
|
Returns:
|
|
Nothing
|
|
|
|
Example:
|
|
|
|
*/
|
|
#include "script_component.hpp"
|
|
if !(isServer) exitWith {};
|
|
_logic = _this select 0;
|
|
_activated = _this select 2;
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
[_logic, QGVAR(RequireSpecialist), "RequireSpecialist" ] call EFUNC(Common,readBooleanParameterFromModule);
|
|
[_logic, QGVAR(PunishNonSpecialists), "PunishNonSpecialists" ] call EFUNC(Common,readBooleanParameterFromModule);
|
|
|
|
diag_log text "[ACE]: Explosive Module Initialized.";
|