ACE3/addons/finger/functions/fnc_moduleSettings.sqf

24 lines
458 B
Plaintext
Raw Normal View History

2015-06-09 05:00:00 +00:00
/*
* Author: PabstMirror
* Module for fingering settings
*
* Arguments:
* 0: The module logic <OBJECT>
*
* Return Value:
* None
*
* Example:
* [logic] call ace_finger_fnc_moduleSettings
*
2015-06-09 05:00:00 +00:00
* Public: No
*/
#include "script_component.hpp"
params ["_logic"];
2015-06-09 05:00:00 +00:00
if !(isServer) exitWith {};
2015-06-09 19:02:19 +00:00
[_logic, QGVAR(enabled), "enabled"] call EFUNC(common,readSettingFromModule);
2015-06-09 05:00:00 +00:00
[_logic, QGVAR(maxRange), "maxRange"] call EFUNC(common,readSettingFromModule);