Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if string.find(sElement, "Hold") then
- local t = Def.ActorFrame {};
- if string.find(sElement, "Body") then
- if string.find(sElement, "Active") then
- if Var "Button" == "Down" then
- t[#t+1] = LoadActor( "Down Hold Body Active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Up" then
- t[#t+1] = LoadActor( "Down Hold Body Active" ) .. {
- InitCommand=cmd(zoomy,-1);
- };
- end
- if Var "Button" == "Left" then
- t[#t+1] = LoadActor( "Left Hold Body active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Right" then
- t[#t+1] = LoadActor( "Left Hold Body active" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- if Var "Button" == "UpLeft" then
- t[#t+1] = LoadActor( "UpLeft Hold Body Active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "UpRight" then
- t[#t+1] = LoadActor( "UpLeft Hold Body Active" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- end
- if string.find(sElement, "Inactive") then
- if Var "Button" == "Down" then
- t[#t+1] = LoadActor( "Down Hold Body Inactive" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Up" then
- t[#t+1] = LoadActor( "Down Hold Body Inactive" ) .. {
- InitCommand=cmd(zoomy,-1);
- };
- end
- if Var "Button" == "Left" then
- t[#t+1] = LoadActor( "Left Hold Body Inactive" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Right" then
- t[#t+1] = LoadActor( "Left Hold Body Inactive" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- if Var "Button" == "UpLeft" then
- t[#t+1] = LoadActor( "UpLeft Hold Body Inactive" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "UpRight" then
- t[#t+1] = LoadActor( "UpLeft Hold Body Inactive" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- end
- end
- if string.find(sElement, "Bottomcap") then
- if string.find(sElement, "Active") then
- if Var "Button" == "Down" then
- t[#t+1] = LoadActor( "Down Hold BottomCap Active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Up" then
- t[#t+1] = LoadActor( "Up Hold BottomCap Active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Left" then
- t[#t+1] = LoadActor( "Left Hold BottomCap active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Right" then
- t[#t+1] = LoadActor( "Left Hold BottomCap active" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- if Var "Button" == "UpLeft" then
- t[#t+1] = LoadActor( "UpLeft Hold BottomCap Active" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "UpRight" then
- t[#t+1] = LoadActor( "UpLeft Hold BottomCap Active" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- end
- if string.find(sElement, "Inactive") then
- if Var "Button" == "Down" then
- t[#t+1] = LoadActor( "Down Hold BottomCap Inactive" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Up" then
- t[#t+1] = LoadActor( "Up Hold BottomCap Inactive" ) .. {
- InitCommand=cmd(zoomy,-1);
- };
- end
- if Var "Button" == "Left" then
- t[#t+1] = LoadActor( "Left Hold Body Inactive" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "Right" then
- t[#t+1] = LoadActor( "Left Hold Body Inactive" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- if Var "Button" == "UpLeft" then
- t[#t+1] = LoadActor( "UpLeft Hold Body Inactive" ) .. {
- InitCommand=cmd();
- };
- end
- if Var "Button" == "UpRight" then
- t[#t+1] = LoadActor( "UpLeft Hold Body Inactive" ) .. {
- InitCommand=cmd(zoomx,-1);
- };
- end
- end
- end
- return t;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement