Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
Alternatively, this might be a conflict between Backpacks on chests and the walkable moving objects mod. It's hard to say without more concrete reproduction steps. If anyone else is having this problem, let us know.
I just needed to write in a patch to prevent people from using the "Alternative Running" sprint mod while carrying a bag on their chest since they were able to circumvent the force-walk restriction by just doing the modded sprint (The mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2198339170)
I just had to change the path to the XEH_preinit.sqf to my own and included this in the beginning to patch the exploit, code below worked as needed as a simple workaround
if (!isNil {player getVariable ["bocr_main_chestpack", nil]}) exitWith {
systemChat "You are unable to sprint with a bag on your chest.";
};
I almost had it, wasn't totally sure about `_main_` being there, and couldn't be arsed to boot the game to try.
I'd recommend using `isNil` directly as of 'Arma 3' v2.18:
_unit isNil "bocr_main_chestpack"
instead of
isNil {_unit getVariable ["bocr_main_chestpack", nil]}
if (isNil {_unit getVariable ["bocr_main_chestpack", nil]}) then {
systemChat "Unit does not have a backpack on their chest";
};
`_unit getVariable "bocr_chestpack"` (98% certainty), as defined on line 52 in the `/addons/main/functions/fnc_addChestpack.sqf` file, showing what the var contains.
^ GitHub link: https://github.com/mjc4wilton/BackpackOnChestRedux/blob/master/addons/main/functions/fnc_addChestpack.sqf#L52