Chickens Posted July 13, 2016 Report Share Posted July 13, 2016 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 More sharing options...
Chickens Posted July 15, 2016 Author Report Share Posted July 15, 2016 Problem fixed:P Link to comment Share on other sites More sharing options...
rvg?! Posted July 15, 2016 Report Share Posted July 15, 2016 5 hours ago, Chickens said: Problem fixed:P To help others with the same problem in the future it would be nice to post your solution. TheStainlessSteelRat and KPABATOK 2 Link to comment Share on other sites More sharing options...
Chickens Posted July 15, 2016 Author Report Share Posted July 15, 2016 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; }; rvg?! 1 Link to comment Share on other sites More sharing options...
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