ItsMehRed Posted July 8, 2020 Share Posted July 8, 2020 When ever my modded character spawns into the game she leaves a light aura where she spawned, yet still has her own. Is there anyway to fix this? Code: -- Light aura local myFunction = function(inst) inst.entity:AddLight() inst.Light:SetFalloff(.45) inst.Light:SetIntensity(.425) inst.Light:SetRadius(2.15) inst.Light:SetColour(180 / 255, 195 / 255, 150 / 255) inst.Light:Enable(true) inst.entity:AddNetwork() end inst:DoPeriodicTask(1.0, myFunction) Link to comment https://forums.kleientertainment.com/forums/topic/119906-light-aura-bug/ Share on other sites More sharing options...
-LukaS- Posted July 9, 2020 Share Posted July 9, 2020 Seems like everything works. There's no additional light on spawn. Keep in mind that when a character spawns at night the game sets a light for about half a Don't Starve day so that you don't immediately die when joining at night. 1 1 Link to comment https://forums.kleientertainment.com/forums/topic/119906-light-aura-bug/#findComment-1352284 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