ciyacavisia Posted June 28, 2023 Share Posted June 28, 2023 My Mod character had the effect of doubling the workable power when equipped with the original helmet. However, with this update, it no longer works. How can I fix this? The attached file is the character's modmain.lua. It is part of the activation condition of the special effect. Link to comment https://forums.kleientertainment.com/forums/topic/148801-how-can-i-resolve-this/ Share on other sites More sharing options...
ciyacavisia Posted June 28, 2023 Author Share Posted June 28, 2023 My Mod https://steamcommunity.com/sharedfiles/filedetails/?id=2969728603 18 minutes ago, ciyacavisia said: My Mod character had the effect of doubling the workable power when equipped with the original helmet. However, with this update, it no longer works. How can I fix this? The attached file is the character's modmain.lua. It is part of the activation condition of the special effect. bandicam 2023-04-24 17-39-10-611.mp4 Link to comment https://forums.kleientertainment.com/forums/topic/148801-how-can-i-resolve-this/#findComment-1644065 Share on other sites More sharing options...
Glommer2 Posted July 16, 2023 Share Posted July 16, 2023 test.lua Link to comment https://forums.kleientertainment.com/forums/topic/148801-how-can-i-resolve-this/#findComment-1650461 Share on other sites More sharing options...
Glommer2 Posted July 16, 2023 Share Posted July 16, 2023 you can take a look of this test.lua Link to comment https://forums.kleientertainment.com/forums/topic/148801-how-can-i-resolve-this/#findComment-1650462 Share on other sites More sharing options...
ciyacavisia Posted July 18, 2023 Author Share Posted July 18, 2023 thank you for your reply. I tried inserting this code into modmain.lua, but it didn't work. I'll try a few more things with the code you provided. Thank you so much for thinking of the code for me! I am grateful. Link to comment https://forums.kleientertainment.com/forums/topic/148801-how-can-i-resolve-this/#findComment-1650845 Share on other sites More sharing options...
Glommer2 Posted August 2, 2023 Share Posted August 2, 2023 it should be in your character file, or you can use AddPrefabPostInit("yourcharactername",function(inst)) to add it to your character prefab in modmain Link to comment https://forums.kleientertainment.com/forums/topic/148801-how-can-i-resolve-this/#findComment-1656740 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