Jump to content
  • 0

Changing how far I can move with a buildable object.


ElDubya

Question

Does anyone know where I can change the distance I am able to move while holding a buildable object? The one that gives you this message  :

 

"You've moved to far away from where you started building" 

 

I found this in player_build.sqf  : 

		if(_location1 distance _location2 > 5) exitWith {
			_isOk = false;
			_cancel = true;
			_reason = "You've moved to far away from where you started building (within 5 meters)";
			detach _object;
			deleteVehicle _object;
		};

		if(abs(_objHDiff) > 5) exitWith {
			_isOk = false;
			_cancel = true;
			_reason = "Cannot move up or down more than 5 meters";
			detach _object;
			deleteVehicle _object;
		};

but changing the "5" for a larger number did nothing. Any ideas please?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Is it just me or is your message different from the script?

"You've moved to far away from where you started building"

_reason = "You've moved to far away from where you started building (within 5 meters)";

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...