mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2026-08-14 12:14:04 +00:00
Compare commits
5 Commits
new-features
...
1.73
| Author | SHA1 | Date | |
|---|---|---|---|
| 1db8004f3e | |||
| 58731f3d84 | |||
| ce2cb5fad0 | |||
| 71b54491fc | |||
| 7ca6af38fc |
@@ -16,15 +16,8 @@
|
|||||||
- jmontleon - https://github.com/jmontleon
|
- jmontleon - https://github.com/jmontleon
|
||||||
- emilianomolina - https://github.com/emilianomolina
|
- emilianomolina - https://github.com/emilianomolina
|
||||||
|
|
||||||
Version: 1.72 - 18/02/2018
|
Version: 1.73 - 15/04/2018
|
||||||
- Bug fix for crate spam
|
- Allow minimum distance from friendly logistics to be set
|
||||||
- Improved JTAC Performance - priority & targeting
|
|
||||||
- Added JTAC report for in view
|
|
||||||
- Added ability to set maximum group size that can be carried
|
|
||||||
- Added new sling load crates
|
|
||||||
- Fixed bug where crates and / or groups would disappear
|
|
||||||
- Fixed bug where count in zone wouldn't work for mission crates
|
|
||||||
- Delayed config of F10 menu and other scheduled functions so they can be overwritten by mission if a user wants
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
ctld = {} -- DONT REMOVE!
|
ctld = {} -- DONT REMOVE!
|
||||||
@@ -2891,7 +2884,7 @@ function ctld.unpackCrates(_arguments)
|
|||||||
local _crate = ctld.getClosestCrate(_heli, _crates)
|
local _crate = ctld.getClosestCrate(_heli, _crates)
|
||||||
|
|
||||||
|
|
||||||
if ctld.inLogisticsZone(_heli) == true or ctld.farEnoughFromLogisticZone(_heli) == true then
|
if ctld.inLogisticsZone(_heli) == true or ctld.farEnoughFromLogisticZone(_heli) == false then
|
||||||
|
|
||||||
ctld.displayMessageToGroup(_heli, "You can't unpack that here! Take it to where it's needed!", 20)
|
ctld.displayMessageToGroup(_heli, "You can't unpack that here! Take it to where it's needed!", 20)
|
||||||
|
|
||||||
@@ -4410,8 +4403,9 @@ function ctld.farEnoughFromLogisticZone(_heli)
|
|||||||
|
|
||||||
--get distance
|
--get distance
|
||||||
local _dist = ctld.getDistance(_heliPoint, _logistic:getPoint())
|
local _dist = ctld.getDistance(_heliPoint, _logistic:getPoint())
|
||||||
|
-- env.info("DIST ".._dist)
|
||||||
if _dist <= ctld.minimumDeployDistance then
|
if _dist <= ctld.minimumDeployDistance then
|
||||||
|
-- env.info("TOO CLOSE ".._dist)
|
||||||
_farEnough = false
|
_farEnough = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user