• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Text Message (Auto-timed) - modify coordinates ?

Status
Not open for further replies.
Level 3
Joined
May 17, 2019
Messages
45
Hello,

Do you think there is any way to modify the default X Y coordinates of in-game Text Message ?
(Im not looking for Custom Texts, but for Text Message (auto-timed).

Thanks.
 
Hi,

Thank you for your answer.

Can you explain how to use these please ? How can I change ORIGIN_FRAME_UNIT_MSG position ? (custom script ??)
 
For the values you have to test around. First you free the frame then one moves its center somewhere else.
  • Repos MessageFrame
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Custom script: call BlzFrameClearAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG,0))
      • Custom script: call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG,0), FRAMEPOINT_CENTER, 0.5, 0.6)
 
Thank you very much.

It's working but after I exit the game I get an error report message (to send to blizzard). Is it normal ?
 
Last edited:
use custom script to call the natives directly which allow to define x and y.
JASS:
native DisplayTextToPlayer takes player toPlayer, real x, real y, string message returns nothing

It's possible with that native? i remember testing various values on x and it cannot be less than 0, that is his predefined valor.
Or i'm wrong?
 
Status
Not open for further replies.
Back
Top