Jump to content

Recommended Posts

@MysticWolf1147, I said "something like this" -- you can't just use that directly, you need to write a function RestoreLight that reactivates the light.

 

The thing is that ghosts have light, so when the character respawns it turns the light off. You just have to turn it back on again, and reset the size of the light. Should be pretty similar to your initial code for creating the glow.

@MysticWolf1147, as rezecib said, just put the same code you used to give that character glow in the first place.

local function RestoreLight(inst)    -- Put the code that you used to give your character glow hereendinst:ListenForEvent("ms_respawnedfromghost", RestoreLight)
Edited by Jjmarco

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...