Use createSimpleObject to create tags (#4892)

This commit is contained in:
PabstMirror 2017-02-14 10:54:21 -06:00 committed by Glowbal
parent b0741f48d7
commit f3d6a4d90d

View File

@ -28,9 +28,8 @@ if (_texture == "") exitWith {
false
};
private _tag = "UserTexture1m_F" createVehicle [0,0,0];
private _tag = createSimpleObject ["UserTexture1m_F", _tagPosASL];
_tag setObjectTextureGlobal [0, _texture];
_tag setPosASL _tagPosASL;
_tag setVectorDirAndUp _vectorDirAndUp;
// Throw a global event for mision makers