• 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.

Reforged 2.0 - Disappearing Frames

Level 7
Joined
Dec 30, 2007
Messages
60
Hey, y'all.

My map contains a casting bar in the form of a UI Frame that shows the time to cast a spell for players and boss enemies. You can preview the practical function of this casting bar in the following video:


As of Reforged 2.0, however, I've had difficulty with these cast bars, as it seems that setting a frame's visibility to false also sets all other frames' visibility to false. Here's a mockujp of the custom script, for example, that controls the visibility of "UIUserCastBar".
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (tempPlayer controller) Equal to User
    • Then - Actions
      • Custom script: if GetLocalPlayer() == udg_tempPlayer then
      • Custom script: call BlzFrameSetVisible( UIUserCastBar, true )
      • Custom script: endif
Before 2.0, this controlled the visibility of the cast bar. Now, however, it also causes the visibility of the boss cast bar, "UIBossCastBar" to disappear. This seems to be the case, at least, or I have yet to identify another cause. Is there any documentation on how interacting with UI frames has changed in 2.0?
 
Last edited:
Top