mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
419 B
Plaintext
24 lines
419 B
Plaintext
|
/*
|
||
|
* Author: Jonpas
|
||
|
* Initializes the Sitting module.
|
||
|
*
|
||
|
* Arguments:
|
||
|
* Whatever the module provides.
|
||
|
*
|
||
|
* Return Value:
|
||
|
* None
|
||
|
*/
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
if !(isServer) exitWith {};
|
||
|
|
||
|
PARAMS_3(_logic,_units,_activated);
|
||
|
|
||
|
if !(_activated) exitWith {};
|
||
|
|
||
|
GVAR(Module) = true;
|
||
|
|
||
|
[_logic, QGVAR(enable), "enable"] call EFUNC(common,readSettingFromModule);
|
||
|
|
||
|
diag_log text "[ACE]: Sitting Module Initialized.";
|