screen NewRank { onaction escape "popdialog; event NewRankOK" widget Label Frame { mins 220,124 size 360,360 texture "data/gfx/ui/banner/banner_Wing.png" } widget EffectEmitter lightning_orb { mins 400, 231 effectName "HUD_lightning_orb_small_01" EventToStartEffectsOn "UIStartRankLabelEffect" EventToStopEffectsOn "UIStopRankLabelEffect" //StartOn } widget Label RankLabel { mins 250, 260 size 300, 40 text "#newrank" textVerticalAlignment "top" textAlignment "center" style "DisplayText" } widget Label RankName { mins 250, 300 size 300, 40 EventToPopulateFrom "SetRankText" textAlignment "center" wordWrap style "RankText" } widget Button Ok { onaction enter "popdialog; event NewRankOK" mins 366, 360 size 64, 26 text "#OK" textAlignment "center" textVerticalAlignment "top" style "Luxor2Style03" } animation In { init screen color=(255,255,255,0) at 0 ms colorScreen from (255,255,255,0) to (255,255,255,255) over 300ms speed=Cosine at 0 ms consoleCommand "event UIStartRankLabelEffect" } animation Out { init screen color=(255,255,255,255) at 0 ms colorScreen from (255,255,255,255) to (255,255,255,0) over 300ms speed=Cosine at 0 ms consoleCommand "event UIStopRankLabelEffect" } }
edwardfranio