Jump to content

removable object


Ghostman

Recommended Posts

In config_variables add the class names of things you want restricted 

DZE_restrictRemoval = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","FireBarrel_DZ","Scaffolding_DZ","CanvasHut_DZ","LightPole_DZ","DeerStand_DZ","MetalGate_DZ","StickFence_DZ"]; //Items that can be removed with a crowbar only with proper ownership or access. It is not necessary to add doors, storage or items that inherit from 'ModularItems' to this list. Items that inherit from 'BuiltItems' can be added to this list if desired.

Link to comment
Share on other sites

there is a variable in your configvariables.sqf called

DZE_isRemovable  //Items that can be removed with a crowbar with no ownership or access required. To forbid base take overs remove plot pole from this list and add it to DZE_restrictRemoval. It is not necessary to add wrecks or items that inherit from 'BuiltItems' to this list.

and

DZE_restrictRemoval

//Items that can be removed with a crowbar only with proper ownership or access. It is not necessary to add doors, storage or items that inherit from 'ModularItems' to this list. Items that inherit from 'BuiltItems' can be added to this list if desired.

 

Link to comment
Share on other sites

1 minute ago, lwbuk said:

In config_variables add the class names of things you want restricted 

DZE_restrictRemoval = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","FireBarrel_DZ","Scaffolding_DZ","CanvasHut_DZ","LightPole_DZ","DeerStand_DZ","MetalGate_DZ","StickFence_DZ"]; //Items that can be removed with a crowbar only with proper ownership or access. It is not necessary to add doors, storage or items that inherit from 'ModularItems' to this list. Items that inherit from 'BuiltItems' can be added to this list if desired.

lmao same exact time we posted

Link to comment
Share on other sites

can i use it?

Spoiler

DZ_OtherModular = [    "MetalPanel_DZ",
                    "DeerStand_DZ",
                    "FuelPump_DZ",
                    "LightPole_DZ",
                    "StickFence_DZ",
                    "MetalGate_DZ",
                    "Wooden_shed_DZ",
                    "Wire_cat1",
                    "SandNest_DZ",
                    "WoodShack_DZ",
                    "CanvasHut_DZ",
                    "Fence_corrugated_DZ",
                    "MetalPanel_DZ",
                    "BagFenceRound_DZ",
                    "Sandbag1_DZ",
                    "Land_HBarrier1_DZ",
                    "Land_HBarrier3_DZ",
                    "Land_HBarrier5_DZ",
                    "Fort_RazorWire",
                    "Hedgehog_DZ",
                    "M240Nest_DZ"
                ];

 

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
  • Discord

×
×
  • Create New...