version=54; center[]={8071.4727,29.600273,10064.083}; class items { items=1; class Item0 { dataType="Layer"; name="TITAN-LoadoutObjekte_v03"; class Entities { items=23; class Item0 { dataType="Object"; class PositionInfo { position[]={0.83837891,0.40989494,0.19824219}; angles[]={0.0023920804,1.5840086,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; }; id=106; type="Box_NATO_Equip_F"; class CustomAttributes { class Attribute0 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { singleType="STRING"; value="[[[[],[]],[[],[]],[[],[]],[[],[]]],false]"; }; }; }; class Attribute1 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=2; }; }; class Item1 { dataType="Object"; class PositionInfo { position[]={1.1767578,0.20329857,1.9042969}; angles[]={0.00077204045,1.6213607,6.2799835}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; disableSimulation=1; }; id=107; type="Land_FirstAidKit_01_closed_F"; atlOffset=1.9073486e-06; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item2 { dataType="Object"; class PositionInfo { position[]={0.12988281,1.0712471,1.671875}; angles[]={0.0023920804,3.146471,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; disableSimulation=1; }; id=108; type="Land_Laptop_unfolded_F"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item3 { dataType="Object"; class PositionInfo { position[]={1.9243164,0.93124962,1.6035156}; angles[]={0.0015822123,0,6.2816033}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=109; type="Item_rhs_mag_M441_HE"; atlOffset=0.012771606; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item4 { dataType="Object"; class PositionInfo { position[]={1.8701172,0.93138123,1.5742188}; angles[]={0.0015822123,0,6.2816033}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=110; type="Item_rhs_mag_M441_HE"; atlOffset=0.012706757; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item5 { dataType="Object"; class PositionInfo { position[]={1.8618164,0.93128204,1.6455078}; angles[]={0.0015822123,1.1137296,6.2816033}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=111; type="Item_rhs_mag_M441_HE"; atlOffset=0.012636185; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item6 { dataType="Object"; class PositionInfo { position[]={2.3623047,0.92079353,1.9355469}; angles[]={0.0015822123,3.6902552,6.2816033}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=112; type="Item_rhs_weap_m4a1_carryhandle"; atlOffset=0.013210297; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item7 { dataType="Object"; class PositionInfo { position[]={2.0859375,0.92138481,1.8378906}; angles[]={0.0015822123,3.8812523,6.2816033}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=113; type="Item_rhs_weap_m4a1_m203"; atlOffset=0.012840271; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item8 { dataType="Object"; class PositionInfo { position[]={-1.6826172,0.92717361,1.9746094}; angles[]={0.0015822123,3.3278697,6.2816033}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=114; type="Item_rhs_weap_mk18"; atlOffset=0.004032135; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item9 { dataType="Object"; class PositionInfo { position[]={-1.5400391,0.92636681,0.85058594}; angles[]={0,4.6008306,0}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=115; type="Weapon_Tier1_MK48_Mod0"; atlOffset=0.001203537; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item10 { dataType="Object"; class PositionInfo { position[]={-1.597168,1.0317936,-0.76855469}; angles[]={0,4.2504001,0}; }; side="Empty"; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; disableSimulation=1; }; id=116; type="Land_Ammobox_rounds_F"; atlOffset=0.88405609; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item11 { dataType="Object"; class PositionInfo { position[]={-1.8925781,1.0317287,-0.75292969}; angles[]={0,4.680068,0}; }; side="Empty"; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; disableSimulation=1; }; id=117; type="Land_Ammobox_rounds_F"; atlOffset=0.88261414; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item12 { dataType="Object"; class PositionInfo { position[]={1.0336914,0.92170715,-0.57226563}; angles[]={0.0023920804,0,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; }; id=118; type="B_supplyCrate_F"; class CustomAttributes { class Attribute0 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { singleType="STRING"; value="[[[[],[]],[[],[]],[[],[]],[[],[]]],false]"; }; }; }; class Attribute1 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=2; }; }; class Item13 { dataType="Object"; class PositionInfo { position[]={-0.65722656,0.48696899,-0.35253906}; angles[]={0.0023920804,0,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; }; id=119; type="Land_Pallet_MilBoxes_F"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item14 { dataType="Object"; class PositionInfo { position[]={1.5102539,0.24505424,0.82421875}; angles[]={0.00077204045,6.1825652,6.2799835}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; disableSimulation=1; }; id=120; type="Land_DeskChair_01_olive_F"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item15 { dataType="Object"; class PositionInfo { position[]={1.6303711,0.46697807,1.8076172}; angles[]={0.00077204045,0,6.2799835}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; }; id=121; type="Land_PortableDesk_01_olive_F"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item16 { dataType="Object"; class PositionInfo { position[]={-0.84326172,0.47646713,1.8056641}; angles[]={0.0023920804,0,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; }; id=122; type="Land_PortableDesk_01_olive_F"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item17 { dataType="Object"; class PositionInfo { position[]={-1.7070313,0.48443222,0.21582031}; angles[]={0.0023920804,4.712389,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; }; id=123; type="Land_PortableDesk_01_olive_F"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item18 { dataType="Object"; class PositionInfo { position[]={-0.28564453,0.95315552,1.8730469}; angles[]={0.0023911009,0,6.2783856}; }; side="Empty"; flags=4; class Attributes { createAsSimpleObject=1; createAsLocalObject=1; disableSimulation=1; }; id=124; type="Land_IPPhone_01_black_F"; atlOffset=5.1498413e-05; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item19 { dataType="Object"; class PositionInfo { position[]={-1.7138672,1.5901279,-0.36035156}; angles[]={0.0023920804,0.64350104,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=125; type="Item_muzzle_snds_M"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item20 { dataType="Object"; class PositionInfo { position[]={-1.5097656,1.5888729,-0.24511719}; angles[]={0.0023920804,5.8901277,6.278389}; }; side="Empty"; flags=4; class Attributes { createAsLocalObject=1; disableSimulation=1; }; id=126; type="Item_bipod_01_F_blk"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=1; }; }; class Item21 { dataType="Group"; side="West"; class Entities { items=2; class Item0 { dataType="Object"; class PositionInfo { position[]={-0.7421875,0.035932541,0.85253906}; }; side="West"; flags=7; class Attributes { rank="SERGEANT"; name="loadout_box_2"; class Inventory { class uniform { typeName="U_B_CombatUniform_mcam_tshirt"; isBackpack=0; class MagazineCargo { items=2; class Item0 { name="SmokeShell"; count=1; ammoLeft=1; }; class Item1 { name="Chemlight_green"; count=1; ammoLeft=1; }; }; class ItemCargo { items=1; class Item0 { name="FirstAidKit"; count=1; }; }; }; class vest { typeName="V_Chestrig_rgr"; isBackpack=0; class MagazineCargo { items=2; class Item0 { name="SmokeShellGreen"; count=1; ammoLeft=1; }; class Item1 { name="Chemlight_green"; count=1; ammoLeft=1; }; }; }; map="ItemMap"; watch="ItemWatch"; goggles="G_Aviator"; headgear="H_MilCap_mcamo"; }; }; id=135; type="B_officer_F"; class CustomAttributes { class Attribute0 { property="ENH_doStop"; expression="if (!is3DEN && _value) then {doStop _this}"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="ENH_setCaptive"; expression="[_this, _value] remoteExec ['setCaptive', _this]"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute2 { property="ENH_disableAI_target"; expression="if _value then {[_this, 'TARGET'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute3 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute4 { property="ENH_disableAI_suppression"; expression="if _value then {[_this, 'SUPPRESSION'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute5 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute6 { property="ENH_disableAI_teamswitch"; expression="if _value then {[_this, 'TEAMSWITCH'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute7 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { singleType="STRING"; value="Male07ENG"; }; }; }; class Attribute8 { property="ENH_disableAI_autotarget"; expression="if _value then {[_this, 'AUTOTARGET'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute9 { property="ENH_disableAI_path"; expression="if _value then {[_this, 'PATH'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute10 { property="ENH_disableAI_FSM"; expression="if _value then {[_this, 'FSM'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute11 { property="ENH_disableAI_mineDetection"; expression="if _value then {[_this, 'MINEDETECTION'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute12 { property="ENH_AmbientAnimations"; expression=" if (_value # 0 != '') then { _value params ['_animSet', '_anims', '_canExit', '_attach']; _this setVariable ['ENH_ambientAnimations_anims', _anims]; _this disableAI 'ANIM'; if (_attach && !is3DEN) then { private _logic = group _this createUnit ['Logic', getPosATL _this, [], 0, 'NONE']; _this setVariable ['ENH_ambientAnimations_logic', _logic]; [_this, _logic] call BIS_fnc_attachToRelative; }; ENH_fnc_ambientAnimations_play = { params ['_unit']; private _anim = selectRandom (_unit getVariable ['ENH_ambientAnimations_anims', []]); [_unit, _anim] remoteExec ['switchMove', 0]; }; ENH_fnc_ambientAnimations_exit = { params ['_unit']; if !(_unit getVariable ['ENH_ambientAnimations_exit', true]) exitWith {false}; _unit setVariable ['ENH_ambientAnimations_exit', true]; detach _unit; deleteVehicle (_unit getVariable ['ENH_ambientAnimations_logic', objNull]); if (alive _unit) then { [_unit, ''] remoteExec ['switchMove', 0]; _unit enableAI 'ANIM'; }; _unit removeEventHandler ['Killed', _unit getVariable ['ENH_EHKilled',-1]]; _unit removeEventHandler ['Dammaged', _unit getVariable ['ENH_EHDammaged',-1]]; _unit removeEventHandler ['AnimDone', _unit getVariable ['ENH_EHAnimDone',-1]]; }; private _EHAnimDone = _this addEventHandler ['AnimDone', { params ['_unit']; if (alive _unit) then { _unit call ENH_fnc_ambientAnimations_play; } else { _unit call ENH_fnc_ambientAnimations_exit; }; } ]; _this setVariable ['ENH_EHAnimDone', _EHAnimDone]; if (_canExit && !is3DEN) then { private _EHKilled = _this addEventHandler ['Killed', { (_this select 0) call ENH_fnc_ambientAnimations_exit; }]; _this setVariable ['ENH_EHKilled', _EHKilled]; private _EHDammaged = _this addEventHandler ['Dammaged', { (_this select 0) call ENH_fnc_ambientAnimations_exit; }]; _this setVariable ['ENH_EHDammaged', _EHDammaged]; _this spawn { scriptName 'ENH_Attribute_AmbientAnimations'; params ['_unit']; waitUntil { sleep 1; (_unit getVariable ['ENH_ambientAnimations_exit', false]) || {behaviour _unit == 'COMBAT'} }; _unit call ENH_fnc_ambientAnimations_exit; }; }; _this call ENH_fnc_ambientAnimations_play; };"; class Value { class data { singleType="ARRAY"; class value { items=4; class Item0 { class data { singleType="STRING"; value="IDLE_1"; }; }; class Item1 { class data { singleType="ARRAY"; class value { items=1; class Item0 { class data { singleType="STRING"; value="Acts_CivilIdle_1"; }; }; }; }; }; class Item2 { class data { singleType="BOOL"; value=0; }; }; class Item3 { class data { singleType="BOOL"; value=1; }; }; }; }; }; }; class Attribute13 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { singleType="SCALAR"; value=1.01; }; }; }; class Attribute14 { property="ENH_disableAI_lights"; expression="if _value then {[_this, 'LIGHTS'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute15 { property="ENH_disableAI_aimingError"; expression="if _value then {[_this, 'AIMINGERROR'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute16 { property="ENH_disableAI_weaponAim"; expression="if _value then {[_this, 'WEAPONAIM'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute17 { property="ENH_disableAI_NVG"; expression="if _value then {[_this, 'NVG'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute18 { property="ENH_disableAI_cover"; expression="if _value then {[_this, 'COVER'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute19 { property="ENH_disableAI_autocombat"; expression="if _value then {[_this, 'AUTOCOMBAT'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute20 { property="ENH_disableAI_radioProtocol"; expression="if _value then {[_this, 'RADIOPROTOCOL'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute21 { property="ENH_allowSprint"; expression="[_this, _value] remoteExec ['allowSprint', _this]"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute22 { property="ENH_disableAI_checkVisible"; expression="if _value then {[_this, 'CHECKVISIBLE'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute23 { property="ENH_disableAI_move"; expression="if _value then {[_this, 'MOVE'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; nAttributes=24; }; }; class Item1 { dataType="Object"; class PositionInfo { position[]={1.5146484,0.025743484,0.79589844}; angles[]={0,0.1105497,0}; }; side="West"; flags=5; class Attributes { rank="SERGEANT"; name="loadout_box_1"; class Inventory { class uniform { typeName="U_B_CombatUniform_mcam_tshirt"; isBackpack=0; class MagazineCargo { items=2; class Item0 { name="SmokeShell"; count=1; ammoLeft=1; }; class Item1 { name="Chemlight_green"; count=1; ammoLeft=1; }; }; class ItemCargo { items=1; class Item0 { name="FirstAidKit"; count=1; }; }; }; class vest { typeName="V_PlateCarrier2_rgr"; isBackpack=0; class MagazineCargo { items=2; class Item0 { name="SmokeShellGreen"; count=1; ammoLeft=1; }; class Item1 { name="Chemlight_green"; count=1; ammoLeft=1; }; }; }; map="ItemMap"; watch="ItemWatch"; headgear="H_Cap_tan_specops_US"; }; }; id=138; type="B_officer_F"; class CustomAttributes { class Attribute0 { property="ENH_doStop"; expression="if (!is3DEN && _value) then {doStop _this}"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="ENH_setCaptive"; expression="[_this, _value] remoteExec ['setCaptive', _this]"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute2 { property="ENH_disableAI_target"; expression="if _value then {[_this, 'TARGET'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute3 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute4 { property="ENH_disableAI_suppression"; expression="if _value then {[_this, 'SUPPRESSION'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute5 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute6 { property="ENH_disableAI_teamswitch"; expression="if _value then {[_this, 'TEAMSWITCH'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute7 { property="face"; expression="_this setface _value;"; class Value { class data { singleType="STRING"; value="TanoanHead_A3_07"; }; }; }; class Attribute8 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { singleType="STRING"; value="Male07ENG"; }; }; }; class Attribute9 { property="ENH_disableAI_autotarget"; expression="if _value then {[_this, 'AUTOTARGET'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute10 { property="ENH_disableAI_path"; expression="if _value then {[_this, 'PATH'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute11 { property="ENH_disableAI_FSM"; expression="if _value then {[_this, 'FSM'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute12 { property="ENH_disableAI_mineDetection"; expression="if _value then {[_this, 'MINEDETECTION'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute13 { property="ENH_AmbientAnimations"; expression=" if (_value # 0 != '') then { _value params ['_animSet', '_anims', '_canExit', '_attach']; _this setVariable ['ENH_ambientAnimations_anims', _anims]; _this disableAI 'ANIM'; if (_attach && !is3DEN) then { private _logic = group _this createUnit ['Logic', getPosATL _this, [], 0, 'NONE']; _this setVariable ['ENH_ambientAnimations_logic', _logic]; [_this, _logic] call BIS_fnc_attachToRelative; }; ENH_fnc_ambientAnimations_play = { params ['_unit']; private _anim = selectRandom (_unit getVariable ['ENH_ambientAnimations_anims', []]); [_unit, _anim] remoteExec ['switchMove', 0]; }; ENH_fnc_ambientAnimations_exit = { params ['_unit']; if !(_unit getVariable ['ENH_ambientAnimations_exit', true]) exitWith {false}; _unit setVariable ['ENH_ambientAnimations_exit', true]; detach _unit; deleteVehicle (_unit getVariable ['ENH_ambientAnimations_logic', objNull]); if (alive _unit) then { [_unit, ''] remoteExec ['switchMove', 0]; _unit enableAI 'ANIM'; }; _unit removeEventHandler ['Killed', _unit getVariable ['ENH_EHKilled',-1]]; _unit removeEventHandler ['Dammaged', _unit getVariable ['ENH_EHDammaged',-1]]; _unit removeEventHandler ['AnimDone', _unit getVariable ['ENH_EHAnimDone',-1]]; }; private _EHAnimDone = _this addEventHandler ['AnimDone', { params ['_unit']; if (alive _unit) then { _unit call ENH_fnc_ambientAnimations_play; } else { _unit call ENH_fnc_ambientAnimations_exit; }; } ]; _this setVariable ['ENH_EHAnimDone', _EHAnimDone]; if (_canExit && !is3DEN) then { private _EHKilled = _this addEventHandler ['Killed', { (_this select 0) call ENH_fnc_ambientAnimations_exit; }]; _this setVariable ['ENH_EHKilled', _EHKilled]; private _EHDammaged = _this addEventHandler ['Dammaged', { (_this select 0) call ENH_fnc_ambientAnimations_exit; }]; _this setVariable ['ENH_EHDammaged', _EHDammaged]; _this spawn { scriptName 'ENH_Attribute_AmbientAnimations'; params ['_unit']; waitUntil { sleep 1; (_unit getVariable ['ENH_ambientAnimations_exit', false]) || {behaviour _unit == 'COMBAT'} }; _unit call ENH_fnc_ambientAnimations_exit; }; }; _this call ENH_fnc_ambientAnimations_play; };"; class Value { class data { singleType="ARRAY"; class value { items=4; class Item0 { class data { singleType="STRING"; value="SIT_U1"; }; }; class Item1 { class data { singleType="ARRAY"; class value { items=4; class Item0 { class data { singleType="STRING"; value="hubsittingchairua_idle1"; }; }; class Item1 { class data { singleType="STRING"; value="hubsittingchairua_idle2"; }; }; class Item2 { class data { singleType="STRING"; value="hubsittingchairua_idle3"; }; }; class Item3 { class data { singleType="STRING"; value="hubsittingchairua_move1"; }; }; }; }; }; class Item2 { class data { singleType="BOOL"; value=0; }; }; class Item3 { class data { singleType="BOOL"; value=1; }; }; }; }; }; }; class Attribute14 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { singleType="SCALAR"; value=1.01; }; }; }; class Attribute15 { property="ENH_disableAI_lights"; expression="if _value then {[_this, 'LIGHTS'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute16 { property="ENH_disableAI_aimingError"; expression="if _value then {[_this, 'AIMINGERROR'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute17 { property="ENH_disableAI_weaponAim"; expression="if _value then {[_this, 'WEAPONAIM'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute18 { property="ENH_disableAI_NVG"; expression="if _value then {[_this, 'NVG'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute19 { property="ENH_disableAI_cover"; expression="if _value then {[_this, 'COVER'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute20 { property="ENH_disableAI_autocombat"; expression="if _value then {[_this, 'AUTOCOMBAT'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute21 { property="ENH_disableAI_radioProtocol"; expression="if _value then {[_this, 'RADIOPROTOCOL'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute22 { property="ENH_allowSprint"; expression="[_this, _value] remoteExec ['allowSprint', _this]"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute23 { property="ENH_disableAI_checkVisible"; expression="if _value then {[_this, 'CHECKVISIBLE'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; class Attribute24 { property="ENH_disableAI_move"; expression="if _value then {[_this, 'MOVE'] remoteExec ['disableAI', _this]}"; class Value { class data { singleType="BOOL"; value=1; }; }; }; nAttributes=25; }; }; }; class Attributes { }; id=136; class CustomAttributes { class Attribute0 { property="groupID"; expression=" if (isNil 'CBA_fnc_setCallsign') then { _this setGroupID [_value]; } else { [_this, _value] call CBA_fnc_setCallsign; };"; class Value { class data { singleType="STRING"; value="Loudout"; }; }; }; nAttributes=1; }; }; class Item22 { dataType="Layer"; name="TITAN UAV_1"; class Entities { items=1; class Item0 { dataType="Layer"; name="UGVs Stomper_1"; class Entities { items=8; class Item0 { dataType="Group"; side="West"; class Entities { items=1; class Item0 { dataType="Object"; class PositionInfo { position[]={-10.135254,3.1802406,-3.1064453}; angles[]={0.0023920804,3.1764631,6.2767911}; }; side="West"; flags=6; class Attributes { skill=1; name="Mulli1KI"; description="Mulli1"; }; id=93; type="B_UAV_AI"; atlOffset=3.8146973e-06; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { singleType="SCALAR"; value=0.94999999; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; }; class Attributes { behaviour="CARELESS"; }; class CrewLinks { class LinkIDProvider { nextID=1; }; class Links { items=1; class Item0 { linkID=0; item0=93; item1=91; class CustomData { role=1; }; }; }; }; id=92; atlOffset=3.8146973e-06; }; class Item1 { dataType="Group"; side="West"; class Entities { items=1; class Item0 { dataType="Object"; class PositionInfo { position[]={-5.1157227,3.1520691,-3.2890625}; angles[]={0.00077204045,3.1547067,6.278389}; }; side="West"; flags=6; class Attributes { skill=1; name="Mulli2KI"; }; id=96; type="B_UAV_AI"; atlOffset=6.6757202e-05; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { singleType="SCALAR"; value=0.99000001; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; }; class Attributes { combatMode="BLUE"; behaviour="CARELESS"; }; class CrewLinks { class LinkIDProvider { nextID=1; }; class Links { items=1; class Item0 { linkID=0; item0=96; item1=94; class CustomData { role=1; }; }; }; }; id=95; atlOffset=6.6757202e-05; }; class Item2 { dataType="Group"; side="West"; class Entities { items=1; class Item0 { dataType="Object"; class PositionInfo { position[]={0.033691406,3.1274605,-3.5078125}; angles[]={0.00077204045,3.1544192,6.278389}; }; side="West"; flags=6; class Attributes { skill=1; name="Mulli3KI"; }; id=99; type="B_UAV_AI"; atlOffset=1.9073486e-06; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { singleType="SCALAR"; value=0.97000003; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; }; class Attributes { combatMode="BLUE"; behaviour="CARELESS"; }; class CrewLinks { class LinkIDProvider { nextID=1; }; class Links { items=1; class Item0 { linkID=0; item0=99; item1=97; class CustomData { role=1; }; }; }; }; id=98; atlOffset=1.9073486e-06; }; class Item3 { dataType="Group"; side="West"; class Entities { items=1; class Item0 { dataType="Object"; class PositionInfo { position[]={4.8564453,3.1013565,-3.6425781}; angles[]={0.00077204045,3.1423178,6.2759843}; }; side="West"; flags=6; class Attributes { skill=1; name="Mulli3KI_1"; }; id=102; type="B_UAV_AI"; atlOffset=7.4386597e-05; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { singleType="SCALAR"; value=0.97000003; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; }; class Attributes { combatMode="BLUE"; behaviour="CARELESS"; }; class CrewLinks { class LinkIDProvider { nextID=1; }; class Links { items=1; class Item0 { linkID=0; item0=102; item1=100; class CustomData { role=1; }; }; }; }; id=101; atlOffset=7.4386597e-05; }; class Item4 { dataType="Object"; class PositionInfo { position[]={-8.3300781,2.1733284,-5.0517578}; angles[]={0.0023920804,3.1764631,6.2767911}; }; side="West"; flags=6; class Attributes { skill=1; lock="UNLOCKED"; name="Muli1"; textures="Blufor"; dynamicSimulation=1; reportRemoteTargets=1; receiveRemoteTargets=1; reportOwnPosition=1; aiRadarUsage=2; }; id=91; type="B_UGV_01_F"; atlOffset=3.8146973e-06; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { singleType="STRING"; value="[[[[""Medikit""],[2]],[[""SatchelCharge_Remote_Mag"",""ClaymoreDirectionalMine_Remote_Mag"",""SLAMDirectionalMine_Wire_Mag"",""APERSBoundingMine_Range_Mag"",""DemoCharge_Remote_Mag""],[20,10,10,10,20]],[[""MineDetector"",""ToolKit""],[2,2]],[[""B_Mortar_01_support_F"",""B_Mortar_01_weapon_F"",""B_Static_Designator_01_weapon_F"",""B_rhsusf_B_BACKPACK""],[4,4,4,4]]],false]"; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; class Item5 { dataType="Object"; class PositionInfo { position[]={-3.2670898,2.144659,-5.1923828}; angles[]={0.00077204045,3.1547067,6.278389}; }; side="West"; flags=6; class Attributes { skill=1; lock="UNLOCKED"; name="Muli2"; textures="Blufor"; dynamicSimulation=1; reportRemoteTargets=1; receiveRemoteTargets=1; reportOwnPosition=1; aiRadarUsage=2; }; id=94; type="B_UGV_01_F"; atlOffset=6.6757202e-05; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { singleType="STRING"; value="[[[[""Medikit""],[2]],[[""SatchelCharge_Remote_Mag"",""ClaymoreDirectionalMine_Remote_Mag"",""SLAMDirectionalMine_Wire_Mag"",""APERSBoundingMine_Range_Mag"",""DemoCharge_Remote_Mag""],[20,10,10,10,20]],[[""MineDetector"",""ToolKit""],[2,2]],[[""B_Mortar_01_support_F"",""B_Mortar_01_weapon_F"",""B_Static_Designator_01_weapon_F"",""B_rhsusf_B_BACKPACK""],[4,4,4,4]]],false]"; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; class Item6 { dataType="Object"; class PositionInfo { position[]={1.8828125,2.1200485,-5.4101563}; angles[]={0.00077204045,3.1544192,6.278389}; }; side="West"; flags=6; class Attributes { skill=1; lock="UNLOCKED"; name="Muli3"; textures="Blufor"; dynamicSimulation=1; reportRemoteTargets=1; receiveRemoteTargets=1; reportOwnPosition=1; aiRadarUsage=2; }; id=97; type="B_UGV_01_F"; atlOffset=1.9073486e-06; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { singleType="STRING"; value="[[[[""Medikit""],[2]],[[""SatchelCharge_Remote_Mag"",""ClaymoreDirectionalMine_Remote_Mag"",""SLAMDirectionalMine_Wire_Mag"",""APERSBoundingMine_Range_Mag"",""DemoCharge_Remote_Mag""],[20,10,10,10,20]],[[""MineDetector"",""ToolKit""],[2,2]],[[""B_Mortar_01_support_F"",""B_Mortar_01_weapon_F"",""B_Static_Designator_01_weapon_F"",""B_rhsusf_B_BACKPACK""],[4,4,4,4]]],false]"; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; class Item7 { dataType="Object"; class PositionInfo { position[]={6.7255859,2.0893211,-5.5224609}; angles[]={0.00077204045,3.1423178,6.2759843}; }; side="West"; flags=6; class Attributes { skill=1; lock="UNLOCKED"; name="Muli4"; textures="Blufor"; dynamicSimulation=1; reportRemoteTargets=1; receiveRemoteTargets=1; reportOwnPosition=1; aiRadarUsage=2; }; id=100; type="B_UGV_01_F"; atlOffset=7.4386597e-05; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; class Attribute1 { property="ammoBox"; expression="[_this,_value] call bis_fnc_initAmmoBox;"; class Value { class data { singleType="STRING"; value="[[[[""Medikit""],[2]],[[""SatchelCharge_Remote_Mag"",""ClaymoreDirectionalMine_Remote_Mag"",""SLAMDirectionalMine_Wire_Mag"",""APERSBoundingMine_Range_Mag"",""DemoCharge_Remote_Mag""],[20,10,10,10,20]],[[""MineDetector"",""ToolKit""],[2,2]],[[""B_Mortar_01_support_F"",""B_Mortar_01_weapon_F"",""B_Static_Designator_01_weapon_F"",""B_rhsusf_B_BACKPACK""],[4,4,4,4]]],false]"; }; }; }; class Attribute2 { property="enableStamina"; expression="_this enablestamina _value;"; class Value { class data { singleType="BOOL"; value=0; }; }; }; nAttributes=3; }; }; }; id=90; atlOffset=-0.003698349; }; }; id=89; atlOffset=-0.003698349; }; }; id=130; atlOffset=0.19097519; }; }; class VehicleInVehicleLinks { class LinkIDProvider { nextID=4; }; class Links { items=4; class Item0 { linkID=0; item0=93; item1=91; class CustomData { role=1; }; }; class Item1 { linkID=1; item0=96; item1=94; class CustomData { role=1; }; }; class Item2 { linkID=2; item0=99; item1=97; class CustomData { role=1; }; }; class Item3 { linkID=3; item0=102; item1=100; class CustomData { role=1; }; }; }; };