ACE3/addons/captives/functions/fnc_moduleSettings.sqf

24 lines
671 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
/*
* Author: PabstMirror
* Module for captivity settings
*
* Arguments:
* 0: The module logic <OBJECT>
*
* Return Value:
* None <NIL>
*
* Example:
* [LOGIC] call ace_captives_fnc_moduleSettings
*
* Public: No
*/
2015-08-06 20:41:24 +00:00
params ["_logic"];
[_logic, QGVAR(allowHandcuffOwnSide), "allowHandcuffOwnSide"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(allowSurrender), "allowSurrender"] call EFUNC(common,readSettingFromModule);
2015-08-08 22:21:59 +00:00
[_logic, QGVAR(requireSurrender), "requireSurrender"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(requireSurrenderAi), "requireSurrenderAi"] call EFUNC(common,readSettingFromModule);