Setting colors to objects
Since my last post was deleted for "spam". (more like the person it was associated with)
Here you go, this is how to change the color of textures. (works on players, vehicle, buildings, etc)
Here you go, this is how to change the color of textures. (works on players, vehicle, buildings, etc)
Code:
c_red = "#(argb,1,1,1)color(1,0,0,5)"; c_green = "#(argb,1,1,1)color(0,1,0,5)"; c_blue = "#(argb,1,1,1)color(0,0,1,5)"; c_yellow = "#(argb,1,1,1)color(1,1,0,1)"; c_orange = "#(argb,1,1,1)color(1,0.4,0.15,1)"; c_pink = "#(argb,1,1,1)color(1,0.5,1,1)"; c_purple = "#(argb,1,1,1)color(1,0,1,1)"; c_cyan = "#(argb,1,1,1)color(0,1,1,1)"; c_white = "#(argb,1,1,1)color(1,1,1,1)"; c_black = "#(argb,1,1,1)color(0,0,0,1)"; CustomColor = "#(argb,1,1,1)color(0,0,0,1)"; rainbowtest = 2; rainbowTARGET = 2; blueBOW = 2; blueBOWTARGET = 2; redSTROBE = 2; redSTROBETARGET = 2; myTargetColor = c_purple; myColor = c_black; ThisIsMe = vehicle player; MyTarget = cursorTarget; publicVariable "ThisIsMe"; publicVariable "MyTarget"; watizCOLOR2 = format ["MyTarget setobjecttexture [0,'%1'];", myTargetColor]; colorME_K = format ["ThisIsMe setobjecttexture [0,'%1'];", myColor]; [watizCOLOR2] execVM "path\to\re.sqf"; [colorME_K] execVM "path\to\re.sqf";





