M1ke_SK 230 Posted July 26, 2016 I am trying to attach logo on container. I create usertexture, set pciture and attach it to container. But when I use "createSimpleObject" instead "createVehicle" it not show up. Here is code private ["_object", "_logo_left", "_logo_right"]; params ["_object"]; //Land_Cargo40_yellow_F _logo_left = createSimpleObject ["a3\misc_f\Helpers\usertexture1m.p3d", getPosWorld _object]; //not working _logo_left setObjectTextureGlobal [0, "picture.paa"]; _logo_left attachTo [_object, [0,-1.22,0.2]]; _logo_left setdir 0; _logo_right = "UserTexture1m_F" createVehicle getPosWorld _object; //working _logo_right setObjectTextureGlobal [0, "picture.paa"]; _logo_right attachTo [_object, [0,1.22,0.2]]; _logo_right setdir 180; Share this post Link to post Share on other sites
Greenfist 1863 Posted July 26, 2016 Simple objects don't have configs so you can't use setObjectTexture. edit. Biki says they support "texturing". No idea how though. :confused: Share this post Link to post Share on other sites
opec666 22 Posted July 26, 2016 Same for setVariable. simple_obj = createSimpleObject [ "a3\structures_f_exp\infrastructure\bridges\bridgesea_01_pillar_f.p3d", (position player) ]; simple_obj setVariable [ "wow", true ]; _get_simple_var = simple_obj getVariable "wow"; hint str _event; No hint fires because _get_simple_var is nil. versus: real_obj = "Land_TreeBin_F" createVehicle (position player); real_obj setVariable [ "okay", true ]; _get_real_var = real_obj getVariable "okay"; hint str _get_real_var; Hint fires as "true" as expected. createSimpleObject is supposed to reduce net traffic, so I guess it's not as surprising when a command with an option to make it global causes trouble. Share this post Link to post Share on other sites