Chat not displaying player messages

Status
Not open for further replies.
Level 2
Joined
Jun 8, 2020
Messages
15
So, using this code called on map initialization:

JASS:
function init takes nothing returns nothing
    local framehandle fhandle
    local framehandle fhandle2
    local integer i = 0
    local GameUI = BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0)

    call BlzEnableUIAutoPosition(false)
    call BlzFrameSetAlpha(BlzGetFrameByName("SimpleInventoryCover", 0), 0)
    call BlzFrameSetScale(BlzGetFrameByName("InventoryText", 0), 0.0001)
    call BlzFrameSetAbsPoint(BlzGetFrameByName("ConsoleUI", 0), FRAMEPOINT_TOPLEFT, 0.0, 0.633)
    call BlzFrameSetVisible(BlzGetFrameByName("ResourceBarFrame", 0), false)
    call BlzFrameSetVisible(BlzGetFrameByName("UpperButtonBarFrame", 0), true)
    call BlzFrameSetVisible(BlzFrameGetChild(BlzGetFrameByName("ConsoleUI", 0), 7), false)
    call BlzFrameSetVisible(BlzFrameGetChild(BlzFrameGetChild(BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0), 5),0), false)
    call BlzFrameSetParent(BlzGetFrameByName("MiniMapFrame", 0), BlzGetFrameByName("ConsoleUIBackdrop", 0))

    set fhandle = BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG, 0)
    call BlzFrameSetVisible(fhandle, true)
    call BlzFrameClearAllPoints(fhandle)
    call BlzFrameSetSize(fhandle, 0.6, 0.5)
    call BlzFrameSetAbsPoint(fhandle, FRAMEPOINT_TOPLEFT, 0.05, 0.55)
endfunction

I manage to move the game chat, but it never shows players' messages, just trigger-shown messages
Those aren't displayed in the Chat log either
It is still able to detect entered chat string event though
Is there any way to fix this?
 
Status
Not open for further replies.
Top