Giano Posted June 11, 2019 Share Posted June 11, 2019 Hello everyone! Since i hate cheating, i feel that the bug causing super speed in the Volcano after approaching it with a fast boat should be gone. Is there anyone who can point me to how to write a function that reset the walking speed after entering the Volcano? I tried a function with: local function resetspeed(self) if GLOBAL.GetWorld():IsVolcano() then self.components.locomotor.runspeed=1 self.components.locomotor.walkspeed=1 end end How exactly am i supposed to do? Sorry i'm totally new at coding. Any help is highly appreciated. Thanks Link to comment https://forums.kleientertainment.com/forums/topic/107458-trying-to-change-walking-speed-in-volcano/ Share on other sites More sharing options...
Giano Posted June 13, 2019 Author Share Posted June 13, 2019 Ok i solved this. Added 3 line of codes in the locomotor. The volcano speed bug is gone. Link to comment https://forums.kleientertainment.com/forums/topic/107458-trying-to-change-walking-speed-in-volcano/#findComment-1209397 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