Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [(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;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement