TXTSpake 0 Posted August 7, 2023 Hello everyone. We are playing a mission created by me where we must go with a vehicle loaded with 4 drones to a point, and then deploy said drones. Currently we must start the game with the drones deployed, disassemble them and then put the backpacks (the drones become backpacks when folded), in the vehicle. But... is there a way to start already with the drones inside the vehicle? I have thought about this option, but with my drones:supplyBox addItemCargo ["optic_ARCO", 10]; But I don't know if it will really work with drones, why? Because to begin with I don't know what name I should give it so that the code recognizes it. Where does that reference name appear? In this case: "optic_ARCO". Help me Share this post Link to post Share on other sites
Nemanjic 71 Posted August 7, 2023 vehicle addBackpackCargo ["classname", 4] 1 Share this post Link to post Share on other sites
TXTSpake 0 Posted August 7, 2023 Thanks for the help :). And how do I know the name of the class? Where can I get that information or the "classname" is the name that I can give to the object?? Share this post Link to post Share on other sites
Nemanjic 71 Posted August 7, 2023 Many ways. One is to read it from the editor - (hovering the mouse) over an object or to export soldier loadout wearing tools, backpacks or uniforms, or any object which class you want to know about to txt file but the easiest and really quick is to use this command. For ingame info about classname, point your crosshair to object and launch: hint typeOf cursorObject in debug console. 1 Share this post Link to post Share on other sites
Harzach 2518 Posted August 7, 2023 9 hours ago, TXTSpake said: But... is there a way to start already with the drones inside the vehicle? Just put them in the vehicle? Or, if you want to script it, do the above, then get the classname(s) via debug console in-game: Share this post Link to post Share on other sites
TXTSpake 0 Posted August 7, 2023 2 minutes ago, Harzach said: Just put them in the vehicle? Or, if you want to script it, do the above, then get the classname(s) via debug console in-game: I didn't think it appears as a backpack. I'm going to try that :) Share this post Link to post Share on other sites
Harzach 2518 Posted August 7, 2023 39 minutes ago, TXTSpake said: I didn't think it appears as a backpack. 10 hours ago, TXTSpake said: (the drones become backpacks when folded) 😄 Share this post Link to post Share on other sites
TXTSpake 0 Posted August 7, 2023 1 hour ago, Harzach said: 😄 I know, I know, I really thought you couldn't, but... you can! Now I already have my vehicle loaded with the UAVs from the beginning of the game. Thank you both very much for the help. Really :) Share this post Link to post Share on other sites