ACE3/addons/captives/XEH_preStart.sqf

10 lines
531 B
Plaintext
Raw Permalink Normal View History

2015-05-01 17:37:17 +00:00
#include "script_component.hpp"
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
private _restraints = (QUOTE(getNumber (_x >> QQGVAR(restraint)) > 0) configClasses (configFile >> "CfgWeapons") apply {configName _x});
uiNamespace setVariable [QGVAR(restraints), compileFinal (_restraints createHashMapFromArray [])];
private _blindfolds = (QUOTE(getNumber (_x >> QQGVAR(blindfold)) > 0) configClasses (configFile >> "CfgGlasses") apply {configName _x});
uiNamespace setVariable [QGVAR(blindfolds), compileFinal (_blindfolds createHashMapFromArray [])];