UnAcknowledged-77a630718fbda201 0 Posted January 25, 2022 Hi there BI o/ So I am not any good at scripting language and understand very few thing's. But I try my best. Anyway to the point, I am making a mission in where I'd like to be able to call upon a texture for vehicles. But when I activate it, it doesn't seem to do anything. I did have a look on the wiki but maybe I'm just not educated enough as to solve it. Images\Camoflague\WL_HEX.paa is me trying to load it from the mission file. ( I know of course I can put in the init of the vehicle, but my mission randomly generates vehicles ) Quote /******************************** LOAD THE TEXTURE (WL_HEX.paa) /*******************************/ //_object setObjectTexture [0, "\Images\Camoflague\WL_HEX.paa"]; _texture = "\Images\Camoflague\WL_HEX.paa"; _code2 = format ["if (isServer) then { _object setObjectTexture [1, %1]; hint 'Loaded';",_texture]; sleep 0.1; player setVehicleInit _code2; sleep 0.1; processInitCommands; sleep 0.1; clearVehicleInit player; hint "Texture Loaded"; If any of you could help on fixing this, it'd be greatly appreciated. Share this post Link to post Share on other sites
Leopard20 813 Posted January 26, 2022 Remove the \ at the start of the texture path If it doesn't help use: getMissionPath "Images\Camoflague\WL_HEX.paa" Share this post Link to post Share on other sites
dalber24 122 Posted January 29, 2022 On 1/26/2022 at 12:41 PM, Leopard20 said: getMissionPath "Images\Camoflague\WL_HEX.paa" getMissionPath is A3 only Share this post Link to post Share on other sites
Leopard20 813 Posted January 29, 2022 19 hours ago, dalber24 said: getMissionPath is A3 only I know. They asked this question in Discord and put the pink here. I didn't even notice it was A2 until they pointed it out themselves. Share this post Link to post Share on other sites