Jump to content

Building disallowed


Chickens

Recommended Posts

Running the newest epoch mod 

buildingNearbyMilitary = 1; //1 to allow building nearby
    buildingNearbyMilitaryRange = 300; //Define radius of blocked area

class Altis {
        blockedArea[] = {  };

 

Any idea? Trying to build at a Hospital In Kavala lol

Link to comment
Share on other sites

In My  cfgEpochClient   I Set  buildingNearbyMilitary   to 1

Then inside my  epoch_code/compile/building/EPOCH_isBuildAllowed.sqf

i had to remove 

_restrictedLocations = nearestLocations [player, ["NameCityCapital"], 300];
  if !(_restrictedLocations isEqualTo []) then {
  _buildingAllowed = false;
  ["Building Disallowed: Area Blocked", 5] call Epoch_message;
  };
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...