Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
- --If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
- --NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
- local sPlayer = Var "Player";
- local ColSpacing = 128;
- local t = Def.ActorFrame {
- OnCommand=function()
- local getc = SCREENMAN:GetTopScreen():GetChild("Player"..ToEnumShortString(sPlayer)):GetChild("NoteField"):get_column_actors()
- for i2 in pairs(getc) do
- local cs = ColSpacing - 64
- getc[i2]:x((cs*i2)-(cs*2.5));
- end;
- end;
- Def.Sprite {
- Texture=NOTESKIN:GetPath( '_down', 'Go Receptor' );
- Frame0000=0;
- Delay0000=0.2;
- Frame0001=1;
- Delay0001=0.8;
- InitCommand=cmd(effectclock,"beat");
- NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
- PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
- LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
- W5Command=NOTESKIN:GetMetricA("ReceptorArrow", "W5Command");
- W4Command=NOTESKIN:GetMetricA("ReceptorArrow", "W4Command");
- W3Command=NOTESKIN:GetMetricA("ReceptorArrow", "W3Command");
- W2Command=NOTESKIN:GetMetricA("ReceptorArrow", "W2Command");
- W1Command=NOTESKIN:GetMetricA("ReceptorArrow", "W1Command");
- };
- };
- return t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement