Coolinator 10 Posted December 17, 2014 I tried using sling load module but it didn't work. :( I found a script but it only works on placed editor Helis. :( Also, anyone knows how to make a helicopter have a sling load option, even if the heli got destroyed and then respawn? Share this post Link to post Share on other sites
migueldarius 10 Posted December 17, 2014 Try with this :) https://community.bistudio.com/wiki/setSlingLoad Share this post Link to post Share on other sites
Lala14 135 Posted December 17, 2014 My Auxillary Sling Loading Script I think it's the last one. Share this post Link to post Share on other sites
migueldarius 10 Posted December 17, 2014 work in MP? Share this post Link to post Share on other sites
Lala14 135 Posted December 17, 2014 Yes all of my scripts SHOULD work in MP Share this post Link to post Share on other sites
Coolinator 10 Posted December 17, 2014 My Auxillary Sling Loading ScriptI think it's the last one. Thank you so much Lala!!! :) ---------- Post added at 20:35 ---------- Previous post was at 20:08 ---------- My Auxillary Sling Loading ScriptI think it's the last one. found a problem, i tried sling loading the Temptest device truck, it keep saying unable to sling? ---------- Post added at 20:44 ---------- Previous post was at 20:35 ---------- problem fixed, i didnt know there was a config in ur script :) ---------- Post added at 20:53 ---------- Previous post was at 20:44 ---------- i found one real problem, it doesnt sling load vehicles anymore, when heli respawn? Im using Light vehicle respawn script. Share this post Link to post Share on other sites
Lala14 135 Posted December 18, 2014 Thank you so much Lala!!! :)---------- Post added at 20:35 ---------- Previous post was at 20:08 ---------- found a problem, i tried sling loading the Temptest device truck, it keep saying unable to sling? ---------- Post added at 20:44 ---------- Previous post was at 20:35 ---------- problem fixed, i didnt know there was a config in ur script :) ---------- Post added at 20:53 ---------- Previous post was at 20:44 ---------- i found one real problem, it doesnt sling load vehicles anymore, when heli respawn? Im using Light vehicle respawn script. Well see the way the script works is the addActions are actually set on the player. And also it will look for the vehicles, nothing to do with anything else ... ---------- Post added at 11:42 ---------- Previous post was at 11:36 ---------- I'll try and replicate your results though and see if I also get this error. ---------- Post added at 12:47 ---------- Previous post was at 11:42 ---------- Ok i just went through testing it with using the Light Vehicle Respawn Script and I tried the chopper respawning which still worked and then I tried the vehicle that was to be slinged respawning and both and it still worked D: Share this post Link to post Share on other sites
Coolinator 10 Posted December 18, 2014 Well see the way the script works is the addActions are actually set on the player. And also it will look for the vehicles, nothing to do with anything else ...---------- Post added at 11:42 ---------- Previous post was at 11:36 ---------- I'll try and replicate your results though and see if I also get this error. ---------- Post added at 12:47 ---------- Previous post was at 11:42 ---------- Ok i just went through testing it with using the Light Vehicle Respawn Script and I tried the chopper respawning which still worked and then I tried the vehicle that was to be slinged respawning and both and it still worked D: Did you test it with Tempest Device truck? because i have mission that has a Tempest device truck, and i want the truck to be slinged by helicopter and bring back to the base to finish the mission. I just want Heli still be able to sling load, just in case if the heli got destroyed and respawned. So far, i couldn't find a way :( ---------- Post added at 02:28 ---------- Previous post was at 02:24 ---------- You put this in init.sqf right? (just making sure) null = [] execVM "auxslingloading.sqf"; not in the helicopters init? ---------- Post added at 03:17 ---------- Previous post was at 02:28 ---------- Have you actually tried killing the yourself and respawn? i tested it multiple times, sling load option wont come out :( Becuase the way i test it, is i crash the heli with myself inside the heli, and me and the heli both just crashed on the ground and then both of us will respawn. You probably tested it just by destroying the heli, not killing youself and respawning? Share this post Link to post Share on other sites
Lala14 135 Posted December 18, 2014 Your right ... I broke the respawn action ... Just fixed it! The link is updated Share this post Link to post Share on other sites
bolbies 13 Posted December 18, 2014 Is there any way you could make the script work for units as well? Share this post Link to post Share on other sites
Coolinator 10 Posted December 18, 2014 Your right ... I broke the respawn action ... Just fixed it!The link is updated Omg it works!!!!! :yay: Thank you so Lala much i really appreciated it!!!!!!:o Last question, is this Dedicated server Mp compatible? Share this post Link to post Share on other sites
Lala14 135 Posted December 18, 2014 qq I SAID Yes all of my scripts SHOULD work in MP ---------- Post added at 20:02 ---------- Previous post was at 20:01 ---------- Is there any way you could make the script work for units as well? Do you mean sling people? ... there are parts you will need to edit to do that. Share this post Link to post Share on other sites
Coolinator 10 Posted December 18, 2014 qq I SAID---------- Post added at 20:02 ---------- Previous post was at 20:01 ---------- Do you mean sling people? ... there are parts you will need to edit to do that. Ahh kk, Thank you so much Lala!!!:) Share this post Link to post Share on other sites
Lexstock 10 Posted December 18, 2014 Try with this :)setSlingLoad I tried this, but I get "Type Bool, expected nothing". I can't figure out why tho. Share this post Link to post Share on other sites
bolbies 13 Posted December 18, 2014 Do you mean sling people? ... there are parts you will need to edit to do that. Haha no I mean to give your units the order to sling tanks and others using your script. Share this post Link to post Share on other sites
migueldarius 10 Posted December 18, 2014 I tried this, but I get "Type Bool, expected nothing". I can't figure out why tho. lol, name your cargo, example "veh1" and continue name with your copter mmm name it "heli1"... so in the init of the chopter write init: heli1 setSlingLoad veh1; Share this post Link to post Share on other sites
Lala14 135 Posted December 19, 2014 Haha no I mean to give your units the order to sling tanks and others using your script. Ok so there is two ways, you can actually command the AI to attach the vehicle using the action menu (6) or You can do this [unit, vehicle to attach, [model space rope positions], vehicle classname (how much we want the helicopter to think it is carrying)] spawn AuxSling_fnc_TheAttaching; //e.g [player,veh1,[], "I_Quadbike_01_F"] spawn AuxSling_fnc_TheAttaching; //or if you have some positions [player,veh1,[[1,3,0],[1,-3,0],[-1,3,0],[-1,-3,0]], "I_Quadbike_01_F"] spawn AuxSling_fnc_TheAttaching; Share this post Link to post Share on other sites
Ulfgaar 30 Posted June 25, 2015 Im using this: H1 setslingload Veh1; The chopper being H1, and the mini-sub being Veh1. I still end up with the message "Type Bool, expected nothing". This is sort of frustrating... Any thoughts on whats wrong, or advice on getting this to work? Share this post Link to post Share on other sites
Greenfist 1863 Posted June 25, 2015 Im using this: H1 setslingload Veh1; The chopper being H1, and the mini-sub being Veh1. I still end up with the message "Type Bool, expected nothing". This is sort of frustrating... Any thoughts on whats wrong, or advice on getting this to work? You're putting the code in the unit's init field or in a trigger, right? It needs a variable to return the boolean into: nul = H1 setslingload Veh1; Share this post Link to post Share on other sites
Ulfgaar 30 Posted June 25, 2015 Im placing the code in the choppers init field. Also tried for the sake of it to put it in the designated cargo's inits field. Both turn up the same. When i used the code you linked here, it worked. Thanks alot. nul = H1 setslingload Veh1; THIS WORKS! Whoopey! Share this post Link to post Share on other sites