FurryEskimo Posted July 7, 2022 Share Posted July 7, 2022 (edited) As of 7/5/22 it seems that my modded character Wirra doesn't jump into the water when standing on a boat, and I've nearly figured out why, but I could use a little help fixing it. This is the line of code that prevents the player jumping into the water: if not inst:HasTag("In_Water") and (GLOBAL.TheWorld:HasTag("cave") or (inst:GetCurrentPlatform() ~= nil and not inst.components.embarker:HasDestination()) or (rider and rider:IsRiding()) or not inst:HasTag("WILLING_TO_SWIM")) then return end Specifically, this is what has changed: or (inst:GetCurrentPlatform() ~= nil and not inst.components.embarker:HasDestination()) If I remove this code, Wirra will jump into the water from a boat, just like she did before. I haven't been able to determine why these changes have affected my mod. Edited July 8, 2022 by FurryEskimo Link to comment https://forums.kleientertainment.com/forums/topic/141534-changes-to-embarkplatform-code/ Share on other sites More sharing options...
FurryEskimo Posted July 8, 2022 Author Share Posted July 8, 2022 Anyone? Just this one tiny part has changed. Link to comment https://forums.kleientertainment.com/forums/topic/141534-changes-to-embarkplatform-code/#findComment-1582741 Share on other sites More sharing options...
FurryEskimo Posted July 9, 2022 Author Share Posted July 9, 2022 Might have figured it out. Seems I can simply remove the code after some recent changes Klei made. Link to comment https://forums.kleientertainment.com/forums/topic/141534-changes-to-embarkplatform-code/#findComment-1583020 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