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;
|
} forEach _surfaces;
|
||||||
if(count _intersectionASL > 0) then {
|
if(count _intersectionASL > 0) then {
|
||||||
|
_intersectionASL = _intersectionASL vectorAdd (( _surfaceIntersectStartASL vectorFromTo _surfaceIntersectEndASL ) vectorMultiply 0.2);
|
||||||
_slingLoadPoints pushBack (_vehicle worldToModelVisual (ASLToAGL _intersectionASL));
|
_slingLoadPoints pushBack (_vehicle worldToModelVisual (ASLToAGL _intersectionASL));
|
||||||
} else {
|
} else {
|
||||||
_slingLoadPoints pushBack [];
|
_slingLoadPoints pushBack [];
|
||||||
@ -1173,5 +1174,4 @@ diag_log "Advanced Sling Loading Loaded";
|
|||||||
|
|
||||||
if(isServer) then {
|
if(isServer) then {
|
||||||
[] call ASL_Advanced_Sling_Loading_Install;
|
[] call ASL_Advanced_Sling_Loading_Install;
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue
Block a user