I am unsure what you mean with TC Frame.
One would have to change the point which bounds the frame, then the size extends the frame in a different direction. Or you clear the point then you can use any point to move it.
On default the minimap can not leave the 4:3 Screen. You have to change the parent of it, to a frame that can leave the 4:3 Screen (but no SimpleFrame). Then you can move it with -x values to the left 16:9 part or beyond that.
I think when it comes to moving the portrait, the best way would be to clean all the points and have the freedom to move ORIGIN_FRAME_PORTRAIT to any side in frame 4:3.
Maybe, it could be something like this, correct me if I'm wrong:
local framehandle portrait = BlzGetOriginFrame(ORIGIN_FRAME_PORTRAIT, 0)
call BlzFrameClearAllPoints(portrait)
call BlzFrameSetPoint(portrait, FRAMEPOINT_BOTTOMLEFT, BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0), FRAMEPOINT_BOTTOMLEFT, 0.0200, 0.009)
In Minimap we can also clean up all of its points, then add frame point constants to move and maybe even increase its size.
As used in this script:
local framehandle frame = BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0)
call BlzFrameClearAllPoints(frame)
call BlzFrameSetPoint(frame, FRAMEPOINT_BOTTOMLEFT, BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0), FRAMEPOINT_BOTTOMLEFT, 0.0200, 0.009)
call BlzFrameSetSize(frame, 0.10, 0.09)
But it is apparently not possible to drag the Minimap all the way to the left. It's not such a common frame, it can hardly be moved outside the 4: 3 frame limit. So this method of yours can work best to drag it as far as possible ... I'll try, thanks!
TimerStart(CreateTimer(), 0, false, function()
local parent = BlzGetFrameByName("ConsoleUIBackdrop", 0)
local frame = BlzGetFrameByName("MiniMapFrame", 0)
BlzFrameSetParent(frame, parent)
BlzFrameSetAbsPoint(frame, FRAMEPOINT_BOTTOMLEFT, 0.9, 0.3)
BlzFrameSetAbsPoint(frame, FRAMEPOINT_TOPRIGHT, 1.05, 0.45)
end)
PS.
Was talking about the TC in relation to TeamColor the frame to the back of the model.
I was referring to the polygonal frame to be removed directly within the Portrait model, with Retera ModelStudio perhaps.
In this case, it is just a frame within the model, not exactly the UI. lol
EDIT: Everything works very well to move only with triggers through the GUI, using vJASS script.
But as i imagined, you can see in the photo that the 3D portrait is easily positioned to any end without needing to change its parent, but Minimap does not really exceed the limit of the 4: 3 screen, and to reach the end, will be necessary this its revolutionary Lua code itself.
I'm stupid for JASS, for Lua codes I'm stupid squared.
@Tasyen , you wouldn't have this LUA code in the form of JASS, I have no idea how to use Lua, neither to trigger it in the GUI without having any function to start it ??