centering the bfs side

since kadedev told me how to do it
This commit is contained in:
arceuss 2021-05-02 19:13:08 -06:00 committed by GitHub
parent 6937b5c854
commit 59e473a8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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