Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Lua by BenBen ( 7 years ago )
LoadActor( "MusicWheel highlight" ) .. {
	InitCommand=function(self)
		getPlayer = GAMESTATE:IsHumanPlayer(PLAYER_1) and PLAYER_1 or PLAYER_2;
		
		self:diffuseramp():effectcolor1('0,0,0,0.5'):effectcolor2(PlayerColor(getPlayer)):effectclock('beatnooffset');
	end;
	SetMessageCommand=function(self,params)        
		if params.HasFocus then
			self:zoomto(155,285):visible(true);
		else
			self:zoomto(150,280):visible(false);
		end
	end;
};

 

Revise this Paste

Parent: 99445
Your Name: Code Language: