Enderia Posted June 25, 2022 Share Posted June 25, 2022 Depending on which form the character takes their passive dapperness and night sanity loss changes. I tried to code it in using the same code I used for general transformation, but it fell apart with dusk (Sun keeps his dapperness instead of switching to night drain, Moon doesnt get his night gain etc), was told it is a control flow issue, however I don't know how to work anythin further babysitter.lua Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/ Share on other sites More sharing options...
-LukaS- Posted June 26, 2022 Share Posted June 26, 2022 Try adding inst.components.sanity.night_drain_mult and inst.components.sanity.dapperness to ShadowFormController and set it to appropriate values depending on the form there. Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1579910 Share on other sites More sharing options...
Enderia Posted June 27, 2022 Author Share Posted June 27, 2022 15 hours ago, -t- said: Try adding inst.components.sanity.night_drain_mult and inst.components.sanity.dapperness to ShadowFormController and set it to appropriate values depending on the form there. Already tried that the first time, the result was the same as stated above Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1580010 Share on other sites More sharing options...
-LukaS- Posted June 27, 2022 Share Posted June 27, 2022 Weird. If the character changes forms properly in should work as intended. Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1580012 Share on other sites More sharing options...
Enderia Posted June 27, 2022 Author Share Posted June 27, 2022 6 hours ago, -t- said: Weird. If the character changes forms properly in should work as intended. Yeah, thought so too. Don't know where exactly it fails tho, first day is all fine, but at dusk it goes crazy. At night Sun gets big sanity gain, so either Moon's night gain activates or Sun's dapperness doesn't change correctly. Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1580066 Share on other sites More sharing options...
Enderia Posted June 29, 2022 Author Share Posted June 29, 2022 bump cuz I still can't find solution 1 Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1580429 Share on other sites More sharing options...
Enderia Posted July 2, 2022 Author Share Posted July 2, 2022 bump, yet again 1 Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1581397 Share on other sites More sharing options...
Enderia Posted July 9, 2022 Author Share Posted July 9, 2022 And yet again Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1583013 Share on other sites More sharing options...
Hamurlik Posted July 14, 2022 Share Posted July 14, 2022 and again Link to comment https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/#findComment-1583902 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now