Skip to content

Commit

Permalink
Update Fallback Overlayceptor.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Jul 23, 2018
1 parent 42c0f15 commit dcff549
Showing 1 changed file with 1 addition and 49 deletions.
50 changes: 1 addition & 49 deletions NoteSkins/common/common/Fallback Overlayceptor.lua
Original file line number Diff line number Diff line change
@@ -1,49 +1 @@
local sButton = Var "Button"
local pn = Var "Player"

local Buttons = {
["Dance_Single"] = {
"Left",
"Down",
"Up",
"Right",
},
["Dance_Double"] = {
"Left",
"Down",
"Up",
"Right",
"Left",
"Down",
"Up",
"Right",
},
["Dance_Solo"] = {
"Left",
"UpLeft",
"Down",
"Up",
"UpRight",
"Right",
},
}

local getstyle = ToEnumShortString(GAMESTATE:GetCurrentStyle():GetStepsType())

print(getstyle)

local t = Def.ActorFrame {}

if sButton == Buttons[getstyle][1] then
fReceptor = {}
for i = 1,#Buttons[getstyle] do
t[#t+1] = NOTESKIN:LoadActor( Buttons[getstyle][i], "Overlay Receptor" )..{
InitCommand=function(self)
self:x((i-1)*64)
fReceptor[Buttons[getstyle][i]] = self;
end;
}
end
end

return t;
return Def.ActorFrame {}

0 comments on commit dcff549

Please sign in to comment.