- 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".
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
-
-
Last edited: