ACE3/addons/viewdistance
Wanderrful 635b667a74 Fixed viewdistance error while controlling UAV (#5308)
* Fixed viewdistance error while controlling UAV.

When you take control of UAV drones, the view distance does not properly update to your setting because it thinks that you are still the land infantry guy.  So I've experimented a bit in the editor and found a condition that will properly return true when you are in control of a drone aircraft.  I've also adapted this for use with land-based UAV stuff (like the Stomper).

To accomplish this, I created a private *_isControllingDrone* variable that will detect if the player is currently in control of any UAV.  I also edited the _landVehicle and _airVehicle scripts so if and only *_isControllingDrone* returns true, then it will check whether the drone is a subclass of "LandVehicle" or an "Air".

That's all I did.  Please accept my pull request!

* Use ACE_controlledUAV event
2017-09-10 14:42:19 -05:00
..
functions Fixed viewdistance error while controlling UAV (#5308) 2017-09-10 14:42:19 -05:00
$PBOPREFIX$ Adjusted PBOPREFIX 2015-05-10 13:28:18 +02:00
ACE_Settings.hpp Add some names/descriptions to settings configs 2016-03-08 01:17:40 -06:00
CfgEventHandlers.hpp precompile on game start 2016-02-22 15:20:36 +01:00
CfgVehicles.hpp Fix ship view distance using foot instead of vehicle setting, Cleanup view distance component 2016-04-14 13:52:20 +02:00
config.cpp add 'name' to components 2016-06-19 09:38:39 +02:00
README.md Merge branch 'master' into dynamicViewDistance 2015-08-22 00:49:57 +02:00
script_component.hpp convert log macros to cba versions (#4282) 2016-10-02 12:55:31 +02:00
stringtable.xml Fix Chinese content & missing string (#5375) 2017-07-19 20:57:20 +02:00
XEH_clientInit.sqf Fixed viewdistance error while controlling UAV (#5308) 2017-09-10 14:42:19 -05:00
XEH_preInit.sqf Add dev macro to quickly recompile functions (#4699) 2016-11-23 13:35:25 -06:00
XEH_PREP.hpp Fix ship view distance using foot instead of vehicle setting, Cleanup view distance component 2016-04-14 13:52:20 +02:00
XEH_preStart.sqf precompile on game start 2016-02-22 15:20:36 +01:00

ace_viewdistance

Adds various View Distance settings, including Field of View based Object View Distance, and allows limiting maximum view distance that can be set by players.

Maintainers

The people responsible for merging changes to this component or answering potential questions.