You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you trying to code on Source Code (Haxe) or on the Downloaded Build (Lua)?
Downloaded Build
Show an screenshot/video of your problem.
I'm trying to make a custom event that allows me to move arrows
but when I use it literally nothing happens. at all.
function mysplit (inputstr, sep)
if sep == nil then
sep = "%s";
end
local t={};
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
table.insert(t, str);
end
return t;
end
-- Event notes hooks
function onEvent(value1, value2)
local tableee=mysplit(value1,", ") -- Splits value1 into a table
for num in input:gmatch("%d+") do
table.insert(tableee.tonumber(num))
end
noteTweenX(tableee[1], tableee[2], tableee[5], "quartIn");
noteTweenY(tableee[1], tableee[3], tableee[5], "quartIn");
noteTweenAngle(tableee[1], tableee[4], tableee[5], "quartIn");
noteTweenAlpha(tableee[1], value2, tableee[5], "quartIn");
end
I've been trying to solve this for about 3 days in the discussion tab to no success.
Help please
The text was updated successfully, but these errors were encountered:
Are you trying to code on Source Code (Haxe) or on the Downloaded Build (Lua)?
Downloaded Build
Show an screenshot/video of your problem.
I'm trying to make a custom event that allows me to move arrows
but when I use it literally nothing happens. at all.
function mysplit (inputstr, sep)
if sep == nil then
sep = "%s";
end
local t={};
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
table.insert(t, str);
end
return t;
end
-- Event notes hooks
function onEvent(value1, value2)
local tableee=mysplit(value1,", ") -- Splits value1 into a table
for num in input:gmatch("%d+") do
table.insert(tableee.tonumber(num))
end
noteTweenX(tableee[1], tableee[2], tableee[5], "quartIn");
noteTweenY(tableee[1], tableee[3], tableee[5], "quartIn");
noteTweenAngle(tableee[1], tableee[4], tableee[5], "quartIn");
noteTweenAlpha(tableee[1], value2, tableee[5], "quartIn");
end
I've been trying to solve this for about 3 days in the discussion tab to no success.
Help please
The text was updated successfully, but these errors were encountered: