Merge pull request #360 from arceuss/patch-1

centering the bfs side
This commit is contained in:
Kade M 2021-05-02 19:00:31 -07:00 committed by GitHub
commit 285c41bb8b
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 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 ### Available Hooks