added map image
This commit is contained in:
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{
|
class Other{
|
||||||
file="DLib\functions\Other";
|
file="DLib\functions\Other";
|
||||||
class natoSymbolHelper{};
|
class natoSymbolHelper{};
|
||||||
|
class mapImage{};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user