Jump to content

Recommended Posts

I'm new to DST modding and for my first modded character I've narrowed it down to two options for tone perk. One being that she has a light wisp companion or a light aura. I got the light aura to work but it turns off when I die. Getting the light aura would probably be the simplest but here's the current code for just the light aura.

-- Light aura
    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()


Help on any of these would be extremely helpful, thanks in advance.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...