Jump to content

Issues with Mission System and DZAI, crates despawning


Recommended Posts

I'm having an issue with the Mission System and DZAI on my server. The loot crates seems to be despawning after a certain amount of time. When I initially set everything up, I was teleporting to missions to check the loot crates and make sure everything was spawning correctly, and it was. However, i've seen now and heard of people finishing a mission only to not have any crates in the appropriate area by the time they've cleared it.

 

Here's an example of how the crates are being called on my server:

_crate4 = createVehicle ["USVehicleBox",_coords,[], 0, "CAN_COLLIDE"];
[_crate4] execVM "\z\addons\dayz_server\DayzMissions\misc\fillBoxesRanWep.sqf";
_crate4 call DZAI_protectObject;

 

 

My server came with Missions preinstalled, and I have found issues in the past with some of their work. I followed the Mission install readme and some of the lines that readme says to create are not in the appropriate files, but i'm not 100% sure how to implement them because i'm using DZAI. Does the fact that DZAI uses this line:

 

call DZAI_protectObject;

 

instead of this line:

 

setVariable ["Mission",1,true];

 

Change what I need to do make sure things don't respawn?

 

Is anyone have better success with this?

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...