ov3rj0rd 1 Posted July 30, 2014 Hey I am trying to get a vehicle to respawn with a texture using the vehicle respawn module expression for a MP Mission. I have looked around but all the posts that are similar are really old and when I try to pick it apart with my basic knowledge it doesnt seem to work :P Here is what I have: This is in the Vehicle Respawn Module expression line if(isDedicated or isServer)then{execVM "MohawkNATO.sqf";sleep 0.1;}; waitUntil{!(isNull player)}; sleep 0.1; And this is in the .sqf vehInit = { clearWeaponCargoGlobal _this; clearMagazineCargoGlobal _this; this setObjectTexture [0,'#(rgb,8,8,3)color(0.24,0.29,0,1)']; this setObjectTexture [1,'#(rgb,8,8,3)color(0.24,0.29,0,1)']; this setObjectTexture [2,'#(rgb,8,8,3)color(0.24,0.29,0,1)']; }; Share this post Link to post Share on other sites
Beerkan 71 Posted July 30, 2014 Adapt this to suit. If you use the respawn module in ArmA then put this in your init.sqf Fnc_Set_Textures = { if (_this iskindof "I_Heli_Transport_02_F") then { _this setObjectTextureGlobal[0,"#(argb,8,8,3)color(0.518,0.519,0.455,0.2)"]; _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(0.518,0.519,0.455,0.2)"]; _this setObjectTextureGlobal [2,"#(argb,8,8,3)color(0.518,0.519,0.455,0.2)"]; }; if (_this iskindof "I_MRAP_03_HMG_F") then { _this setObjectTextureGlobal [0,'\A3\soft_f_beta\mrap_03\data\mrap_03_ext_co.paa']; _this setObjectTextureGlobal [1,'\A3\data_f\vehicles\turret_co.paa']; }; if (_this iskindof "I_MRAP_03_GMG_F") then { _this setObjectTextureGlobal [0,'\A3\soft_f_beta\mrap_03\data\mrap_03_ext_co.paa']; _this setObjectTextureGlobal [1,'\A3\data_f\vehicles\turret_co.paa']; }; }; Then in the Expression filed in the respawn module put this line (_this select 0) spawn Fnc_Set_Textures; Could also try (_this select 0) execVM "MohawkNATO.sqf"; Share this post Link to post Share on other sites
ov3rj0rd 1 Posted July 30, 2014 (edited) Great thanks! Edited July 30, 2014 by OV3RJ0RD Share this post Link to post Share on other sites