WagnerMello Posted May 31, 2017 Report Share Posted May 31, 2017 Hi guys, I have a WAI and DZMS mission. I have a problem spaw the missions near stary and there is a lot of talking player fight that was killed by camper of safe zone I would ban the missions near stary to avoid this kind of confrontation I know there is a black list but I do not know how to edit how do I? Link to comment Share on other sites More sharing options...
0 salival Posted May 31, 2017 Report Share Posted May 31, 2017 3 hours ago, WagnerMello said: Hi guys, I have a WAI and DZMS mission. I have a problem spaw the missions near stary and there is a lot of talking player fight that was killed by camper of safe zone I would ban the missions near stary to avoid this kind of confrontation I know there is a black list but I do not know how to edit how do I? You need to modify this setting in WAI: https://github.com/ebayShopper/WICKED-AI/blob/master/WAI/config.sqf#L108 For DZMS you actually need to blacklist radius's like what you would do with a safezone script: https://github.com/SMVampire/DZMS-DayZMissionSystem/blob/master/DZMS/DZMSConfig.sqf#L130 This array is in [[x,y,z],radius] format same as DZE_safeZonePosArray Here's how I utilize DZE_safeZonePosArray for my safe zone relocate script: https://github.com/oiad/safeZoneRelocate/blob/master/dayz_code/init/variables.sqf#L1-L11 You could do this in your DZMS config: DZMSBlacklistZones = DZE_safeZonePosArray; providing obviously you set up DZE_safeZonePosArray correctly map depending. Link to comment Share on other sites More sharing options...
0 Relentless Posted May 31, 2017 Report Share Posted May 31, 2017 @salival Is the DZE_safeZonePosArray - variable a public variable that can be accessed by the server by default? I remember that this was set in configVariables in one of BigEggs scripts and these positions are also used by the infiSTAR safezone script that @juandayz released. But I am just wondering if you can access this array from WAI or DZMS as they are only server sided. Don't you have to make a publicVariableServer for this? Link to comment Share on other sites More sharing options...
0 salival Posted May 31, 2017 Report Share Posted May 31, 2017 @DAmNRelentlessno, it's just a global array. It can be accessed by client or server, you don't use PVS to use it. https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/configVariables.sqf#L28 A lot of scripts use their own safezone array instead of utilizing DZE_safeZonePosArray. See my safe zone relocate script for how I use it. Link to comment Share on other sites More sharing options...
0 Relentless Posted May 31, 2017 Report Share Posted May 31, 2017 @salival Wait, so you just have to declarate a variable like this: myNewVariable12 = true; And then it's public to everything (client and server)?I thought it's only available on the whole mission then. If you want to use it on the server side I thought you have to add a: publicVariable "myNewVariable12"; Link to comment Share on other sites More sharing options...
0 salival Posted May 31, 2017 Report Share Posted May 31, 2017 No, thus why everything in variables.swf and config variables can be used anywhere, it's only private variables that can't be used both sides without a pvs Relentless 1 Link to comment Share on other sites More sharing options...
0 oldmatechoc Posted June 4, 2017 Report Share Posted June 4, 2017 @DAmNRelentless https://community.bistudio.com/wiki/Variables#Local_Variables Good read ;) Link to comment Share on other sites More sharing options...
Question
WagnerMello
Hi guys, I have a WAI and DZMS mission.
I have a problem spaw the missions near stary and there is a lot of talking player fight that was killed by camper of safe zone
I would ban the missions near stary to avoid this kind of confrontation I know there is a black list but I do not know how to edit how do I?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now