From 59e473a8e717b44a6b6155e3c4a69f88ad51ef22 Mon Sep 17 00:00:00 2001 From: arceuss Date: Sun, 2 May 2021 19:13:08 -0600 Subject: [PATCH] centering the bfs side since kadedev told me how to do it --- ModCharts.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ModCharts.md b/ModCharts.md index 6726e3e..a49b69f 100644 --- a/ModCharts.md +++ b/ModCharts.md @@ -95,6 +95,19 @@ Looping through all of the rendered notes end ``` +Centering BF's Side + +```lua + function setDefault(id) + _G['defaultStrum'..id..'X'] = getActorX(id) + end + + -- put this somewhere in a function + + for i = 4, 7 do -- go to the center + tweenPosXAngle(i, _G['defaultStrum'..i..'X'] - 275,getActorAngle(i) + 360, 0.6, 'setDefault') + end +``` ### Available Hooks