mirror of
https://github.com/sethduda/AdvancedSlingLoading.git
synced 2024-08-30 17:32:12 +00:00
Lowering ropes to prevent damage to heli
This commit is contained in:
@ -56,6 +56,7 @@ ASL_Get_Sling_Load_Points = {
|
||||
};
|
||||
} forEach _surfaces;
|
||||
if(count _intersectionASL > 0) then {
|
||||
_intersectionASL = _intersectionASL vectorAdd (( _surfaceIntersectStartASL vectorFromTo _surfaceIntersectEndASL ) vectorMultiply 0.2);
|
||||
_slingLoadPoints pushBack (_vehicle worldToModelVisual (ASLToAGL _intersectionASL));
|
||||
} else {
|
||||
_slingLoadPoints pushBack [];
|
||||
@ -1173,5 +1174,4 @@ diag_log "Advanced Sling Loading Loaded";
|
||||
|
||||
if(isServer) then {
|
||||
[] call ASL_Advanced_Sling_Loading_Install;
|
||||
};
|
||||
|
||||
};
|
Reference in New Issue
Block a user