if(!hasInterface)exitWith{}; params ["_obj",["_textureIndex",0]]; _texture = getText (configfile >> "CfgWorlds" >> worldName >> "pictureMap"); if(_texture isEqualTo "") exitWith {}; _obj setObjectTextureGlobal [_textureIndex, _texture];