ShuH Posted September 25, 2023 Share Posted September 25, 2023 I set the overheat temperature of my mod character to 65. It works. inst.components.temperature.overheattemp = 65 But the heat-over animation around my screen does not change accordingly, because heatover.lua has its own thresh. How to change the all_up_thresh to {60,65,70,75}? Link to comment https://forums.kleientertainment.com/forums/topic/151132-how-to-change-a-local-table-in-heatoverlua/ Share on other sites More sharing options...
_zwb Posted September 27, 2023 Share Posted September 27, 2023 (edited) On 9/25/2023 at 4:57 PM, ShuH said: How to change the all_up_thresh to {60,65,70,75}? You can't. What you could do is override the HeatOver:OnHeatChange function with the same function copy&pasted, but a different set of numbers for all_up_thresh Edited September 27, 2023 by _zwb Link to comment https://forums.kleientertainment.com/forums/topic/151132-how-to-change-a-local-table-in-heatoverlua/#findComment-1666913 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