File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -122,27 +122,4 @@ if (_binocularList isNotEqualTo []) then {
122122 _handgunList
123123];
124124
125- // Immediately select weapon and set animation
126- private _fnc_fixAnimation = {
127- private _weapons = [primaryWeapon _this , handgunWeapon _this , secondaryWeapon _this ];
128- private _weaponIndex = _weapons findIf { _x ! = " " };
129- if (_weaponIndex ! = - 1 ) then {
130- _this switchMove ([" amovpercmstpsraswrfldnon" , " amovpercmstpsraswpstdnon" , " amovpercmstpsnonwnondnon" ] select _weaponIndex );
131- _this selectWeapon (_weapons select _weaponIndex );
132- };
133- };
134-
135- if (is3DEN) then {
136- // CBA's frame functions don't work in Eden
137- // And we need a decently sized delay to not mess with creating editorPreviews
138- [_unit , _fnc_fixAnimation ] spawn {
139- sleep 1.2 ;
140- params [" _unit" , " _function" ];
141- save3DENInventory [get3DENEntityID _unit ];
142- _unit call _function ;
143- };
144- } else {
145- [_fnc_fixAnimation , _unit ] call CBA_fnc_execNextFrame ;
146- };
147-
148125true ;
You can’t perform that action at this time.
0 commit comments