#lua cutscenes help
82 messages · Page 1 of 1 (latest)
I'd assume setDarkness accepts a number, not a string
i couldnt make it work with a number either for some reason 
does lua allow spaces before parentheses in the function call?
huh????????????????????????
ok nvm
no it still doesnt work
doesnt work
yep no
does this command like
not work????
Does anything show up in the log?
have you tried it with an extreme value to make sure it's actually not working?
uhm i dunno
darkness is between 0 and 1 so im skeptic anything would change at all
yep it definitely does nothing
it does, it sets bloom 
doesn't look like it
@split bay 
There's another one for bloom strength too 
I'm assuming people just used set darkness alpha triggers
this is a talker though
also you can still just set Session.DarkRoomAlpha from lua cutscenes
I'm not sure DarkRoomAlpha would do it, it's only applied on room load it seems

soooooooooooooooooooooo
this happens on room load
you probably want engine.Scene.Lighting.Alpha = amount to set the lighting immediately, but you might also want to mess with the session to have the value persist (unless you also use a light fade trigger) 
well
(to get engine, do local engine = require("#monocle.engine"))
this did not work either
oh, or you can do getLevel().Lighting.Alpha = amount
can you write it out
im stupid for c sharp lua syntax
does it say the dialogue? 
this is literally the code
just replace amount with the value you want
this code
worked
but now the dialog doesnt

and there's literally nothing between the lighting changing and the dialog? 
uh
unsolved
im now gonna ask something else
@surreal radish or whoever knows fmod fuckery
doesnt play sound

i did everything according to the wiki page
uhhh idk shit about fmod sorry
@lost crow ?
Does your event show up in the sound test menu?
if you just created the bank, did you restart the game?
otherwise, if you just created the event, do you have fmod live update on?
pretty sure i have live update on?
restarted the game
does
not work
enough celeste for today im tired holy fuck
pretty sure this was intentional when it came out 🤔 either that or a placeholder