Palmi69 2 Posted December 5, 2022 Hi everyone, Is Someone knows how enter an init code on spawned object by scripting ? (i know for setVehicleInit, the command is aborted) but wouldn't there be another way ? thanks everyone for help ! Share this post Link to post Share on other sites
_foley 192 Posted December 5, 2022 Hey, is there any specific reason you need it to be an init code? If you have an object spawned in a script, then you can run code on it straight away in the same script, for example: // spawn a vehicle private _vehicle = "B_MRAP_01_F" createVehicle (getPos player); // run some code as if it was init code _vehicle setFuel 0.1; 3 Share this post Link to post Share on other sites