Lala14 135 Posted November 26, 2013 So as title says I was wondering on attaching an image to a vehicle but making it attach like the squad images. So far I've been adding it manually and now that I have come to the xH-9 the image is hovering off and not automatically forming to the sides. Ill post a picture soon of what I'm talking about for those not understanding of my current issue. Share this post Link to post Share on other sites
maxjoiner 284 Posted November 26, 2013 (edited) ///squadimage/// private ["_vehicle","_dir","_tex"]; _vehicle =_this select 0; _tex = "UserTexture1m_F" createvehicle getpos _vehicle; _tex setobjectTexture [0,"\yourfolder\yourimage.paa"];\\the image can be .paa or .jpg //but it must be 256x256 or 512x512 or multiple..... _dir = getdir _car;///you must add or subtract to align it to the vehicle ex: ///_dir = getdir _car + (90); _tex setdir _dir; _tex Attachto [_vehicle, [direction,distance,height]]; ///assign the values to the variables: direction,distance,height //to attach the image where you want //direction = right or left values //in editor usage, vehicle with image into his init line put: ///nul = [this] execVM "squadimage.sqf"; Edited November 26, 2013 by maxjoiner 1 Share this post Link to post Share on other sites
Lala14 135 Posted November 26, 2013 thanks for the help max but still this won't be able to bend the image onto the vehicle (MH-9) Share this post Link to post Share on other sites