• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Chat not displaying player messages

Status
Not open for further replies.
Level 3
Joined
Jun 8, 2020
Messages
19
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