Turbanik Posted July 12, 2020 Share Posted July 12, 2020 Is there a way to remove Charlie(damage in the dark)? Link to comment https://forums.kleientertainment.com/forums/topic/120008-charlie/ Share on other sites More sharing options...
-LukaS- Posted July 13, 2020 Share Posted July 13, 2020 If you want to remove her only for a specific character then use this: AddPrefabPostInit("wilson", function(inst) -- "wilson" can be any character if inst.components.grue ~= nil then inst:RemoveComponent("grue") -- "grue" component makes the darkess damage the plyer so you have to remove it end end) If you want to remove Charlie from every character at once then use this: AddPlayerPostInit(function(inst) if inst.components.grue ~= nil then inst:RemoveComponent("grue") end end) 2 Link to comment https://forums.kleientertainment.com/forums/topic/120008-charlie/#findComment-1353331 Share on other sites More sharing options...
gaymime Posted July 13, 2020 Share Posted July 13, 2020 oooh~ that would be lovely for basebuilding Link to comment https://forums.kleientertainment.com/forums/topic/120008-charlie/#findComment-1353349 Share on other sites More sharing options...
Turbanik Posted July 13, 2020 Author Share Posted July 13, 2020 3 hours ago, IThatGuyI said: If you want to remove her only for a specific character then use this: AddPrefabPostInit("wilson", function(inst) -- "wilson" can be any character if inst.components.grue ~= nil then inst:RemoveComponent("grue") -- "grue" component makes the darkess damage the plyer so you have to remove it end end) If you want to remove Charlie from every character at once then use this: AddPlayerPostInit(function(inst) if inst.components.grue ~= nil then inst:RemoveComponent("grue") end end) Thank you very much! Link to comment https://forums.kleientertainment.com/forums/topic/120008-charlie/#findComment-1353352 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