Vondu 4 Report post Posted November 25, 2018 I have created a static mission but the crate is accessible even tho the mission has not been completed. I've noticed that other dms missions will allow you to interact with the crate but will not show items until the mission is completed. Am I missing something? I've looked at the config and I don't see any settings that pertain to static mission crates being locked until mission is completed. I've also compared my crate creation to some of the bandit missions crate creations in the mission sqf and they look the same. Any help or clues would be appreciated. Share this post Link to post Share on other sites
Brenner 114 Report post Posted November 26, 2018 maybe this? a3_dms\scripts\fn_SpawnCrate.sqf Spoiler _crate allowDamage false; _crate enableSimulationGlobal false; _crate enableRopeAttach false; clearWeaponCargoGlobal _crate; clearItemCargoGlobal _crate; clearMagazineCargoGlobal _crate; clearBackpackCargoGlobal _crate; _crate setVariable ["ExileMoney",0,true]; if (DMS_HideBox) then { _crate hideObjectGlobal true; }; _crate; and in a3_dms\scripts\fn_MissionsMonitor_Static.sqf lines 139 Spoiler if (_completionInfo call DMS_fnc_MissionSuccessState) then 169-171 Spoiler { _x call DMS_fnc_FillCrate; } forEach _crate_info_array; Share this post Link to post Share on other sites
Beowulfv 305 Report post Posted November 27, 2018 If all else fails, make the crate spawn after the mission is completed. Might not be what you wanted, but it still stops players from accessing the crate before the mission is completed. Share this post Link to post Share on other sites
Vondu 4 Report post Posted November 27, 2018 Thanks for the info guys. I will probably move the crate creation down to mission completion. Share this post Link to post Share on other sites
kuplion 1785 Report post Posted November 27, 2018 General Discussion is not for support. Please refrain from posting your support queries here, and instead post in the thread for the addon in question. Share this post Link to post Share on other sites