From f8409a0dba984fedebdfff83064559e5b0401ea6 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 20 Sep 2011 16:51:20 -0500 Subject: [PATCH] add PlayerJoinedMessageCommand to PaneDisplay elements on ScreenSelectMusic; fixes issue 534 --- Themes/default/metrics.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Themes/default/metrics.ini b/Themes/default/metrics.ini index 4876a901d2..d345bdc396 100644 --- a/Themes/default/metrics.ini +++ b/Themes/default/metrics.ini @@ -940,24 +940,28 @@ PaneDisplayFrameP1X=SCREEN_CENTER_X-160 PaneDisplayFrameP1Y=SCREEN_BOTTOM-112-2 PaneDisplayFrameP1OnCommand=player,PLAYER_1;diffuse,Color("Orange");zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1 PaneDisplayFrameP1OffCommand=bouncebegin,0.15;zoomx,0; +PaneDisplayFrameP1PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_1 then self:playcommand("On") end end # ShowPaneDisplayTextP1=true PaneDisplayTextP1X=SCREEN_CENTER_X-160 PaneDisplayTextP1Y=SCREEN_BOTTOM-122-2 PaneDisplayTextP1OnCommand=player,PLAYER_1;zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1 PaneDisplayTextP1OffCommand=bouncebegin,0.15;zoomx,0; +PaneDisplayTextP1PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_1 then self:playcommand("On") end end # ShowPaneDisplayFrameP2=true PaneDisplayFrameP2X=SCREEN_CENTER_X+160 PaneDisplayFrameP2Y=SCREEN_BOTTOM-112-2 PaneDisplayFrameP2OnCommand=player,PLAYER_2;diffuse,Color("Orange");zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1 PaneDisplayFrameP2OffCommand=bouncebegin,0.15;zoomx,0; +PaneDisplayFrameP2PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_2 then self:playcommand("On") end end # ShowPaneDisplayTextP2=true PaneDisplayTextP2X=SCREEN_CENTER_X+160 PaneDisplayTextP2Y=SCREEN_BOTTOM-122-2 PaneDisplayTextP2OnCommand=player,PLAYER_2;zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1 PaneDisplayTextP2OffCommand=bouncebegin,0.15;zoomx,0; +PaneDisplayTextP2PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_2 then self:playcommand("On") end end # ShowCourseContentsList=false CourseContentsListX=SCREEN_CENTER_X-160