Nutzgo 15 Posted November 4, 2018 Hi. Is there a simple way to copytoclipboard e.g. an helicopters inventory? I've placed a helicopter, and I've made a custom inventory that I want to keep when it respawn. In the respawn script, I have to add each item manually by it's ID. So far, I've found the IDs by using searching in the Ace Arsenal. Is there a function that could do this easier for me? I've tried to paste this function: "copyToClipboard [this, "init", false] call BIS_fnc_saveInventory" into based on this forum post, but that didn't work. I get the "Type array, expected string"-error. Any suggestions? :) Share this post Link to post Share on other sites
pierremgi 4904 Posted November 4, 2018 f you want all stuff, with modified inventory after respawn, even with backpacks and their contents, have a look at the second script here: 1 Share this post Link to post Share on other sites
Nutzgo 15 Posted November 7, 2018 Pierre, with this script - does every vehicle placed in 3den or Zeus, respawn? I saw your YT-video on that post, and could not see an option for disabling respawn for vehicles? Share this post Link to post Share on other sites
pierremgi 4904 Posted November 7, 2018 That depends on parameters you choose, in fact. For empty vehicles (all) (last param), yes For side (west, east,... ) yes But you can make your own array like: [karl, bob, gus] with some vehicles, no matter the side or empty or not, or even vehicles select {!isnil {_x getVariable "whatEverVar"} }; then on script you just have to decide which vehicles you want to mark with that variable, at start in init.sqf or in game (trigger or else). Doesn't work for vehicles with players inside. Share this post Link to post Share on other sites