Hypothermia meter gain warmth near fire

i have a particle blue print of a fire wich has a large sphere attached to it and im trying to make it so when character enter that it will gain warmth over time but i cant figure out how i should do that, my hypothermia meter is made from tesladevs hunger meter.