icdb icon

[ArmA3] Fancy slingloading (Wonky in multiplayer)

icdb | PRO | 05/29/20 08:44:30 AM UTC | 0 ⭐ | 8045 👁️ | Never ⏰ | []
SQF |

590 B

|

None

|

0 👍

/

0 👎

[(vehicle player), (_this select 1)] spawn fn_slingLoad;
 
fn_slingLoad = {
  params["_heli","_tank"];
 
  _mass = getMass _tank;
  rope = ropeCreate [_heli, [0,0,-2],_tank, [2,2,0], 10];
  rope2 = ropeCreate [_heli, [0,0,-2],_tank, [2,-2,0], 10];
  rope3 = ropeCreate [_heli, [0,0,-2],_tank, [-2,2,0], 10];
  rope4 = ropeCreate [_heli, [0,0,-2],_tank, [-2,-2,0], 10];
  _tank setMass 500;
  waitUntil{!isTouchingGround _tank};
  sleep 5;
  waitUntil{isTouchingGround _tank};
  {
    ropeCut [_x, 5];
    ropeDestroy _x;
  } forEach [rope,rope2,rope3,rope4];
 
  _tank setMass _mass;
};

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎