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