Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My custom event doesn't work #759

Closed
ItsCapp opened this issue Nov 1, 2021 · 2 comments
Closed

My custom event doesn't work #759

ItsCapp opened this issue Nov 1, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@ItsCapp
Copy link

ItsCapp commented Nov 1, 2021

Are you trying to code on Source Code (Haxe) or on the Downloaded Build (Lua)?

Downloaded Build

Show an screenshot/video of your problem.

image

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

@ItsCapp ItsCapp added the help wanted Extra attention is needed label Nov 1, 2021
@ItsCapp
Copy link
Author

ItsCapp commented Nov 2, 2021

can someone please help with this?

@CheeseMaxT
Copy link

Sorry I don't really know about coding but I have the same issue using the screen shake it just don't work!

@ItsCapp ItsCapp closed this as completed Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants