• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Moving 'Display Message' origin causing bug since reforged

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

For long I had been using :

  • Custom script: call BlzFrameClearAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG,0))
  • Custom script: call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG,0), FRAMEPOINT_CENTER, 0.2, 0.6)
This code did move the displayed texts (console-like) so it appeared next to the left border of the screen. It used to work fine.

Since Reforged, this code now causes an instant crash when loading map or when displaying a message.

Any idea to work around it ?
 
Level 3
Joined
May 17, 2019
Messages
45
Anyone able to help me ? I need to move the X origin of the 'Game - Text Message' trigger, to make the texts appear on the left border of the screen.

The way I used to do it before now causes crash with reforged.
 
The game does not like the given x/y position for that frame. Try for example 0.4 / 0.3 and there will be no crash.

Edit: Moving the frame with FRAMEPOINT_BOTTOMLEFT / FRAMEPOINT_TOPLEFT might be more effective/easier when fitting it to the left side.

Coords used in warcraft 3:
coords-image-56-jpg.325821
 
Last edited:
Status
Not open for further replies.
Top