added map image
This commit is contained in:
parent
d7c7c094b8
commit
c292eed7f3
9
functions/Other/fn_mapImage.sqf
Normal file
9
functions/Other/fn_mapImage.sqf
Normal file
@ -0,0 +1,9 @@
|
||||
if(!hasInterface)exitWith{};
|
||||
|
||||
params ["_obj",["_textureIndex",0]];
|
||||
|
||||
_texture = getText (configfile >> "CfgWorlds" >> worldName >> "pictureMap");
|
||||
|
||||
if(_texture isEqualTo "") exitWith {};
|
||||
|
||||
_obj setObjectTextureGlobal [_textureIndex, _texture];
|
@ -1,4 +1,5 @@
|
||||
class Other{
|
||||
file="DLib\functions\Other";
|
||||
class natoSymbolHelper{};
|
||||
class mapImage{};
|
||||
}
|
Loading…
Reference in New Issue
Block a user