WastedTimeYT Posted May 21, 2017 Share Posted May 21, 2017 I'm trying to make a mod and need a function that can check if the player's light is on, but couldn't find one. All I found was a way to tell if a player was holding a light object like a torch, which isn't what I need. Any help would be appreciated. Link to comment Share on other sites More sharing options...
TheDungeonDweller Posted May 21, 2017 Share Posted May 21, 2017 There appears to be a light form for the actual like called: defaultPipboyLightI'm not totally sure it's linked to the actual pipboy despite its name, as the light form is a default object.Perhap try and search for this light at run time. As a Light form, those various Find**ReferenceOfType functions should work. This would be the first approach I was take.I couldn't find any thing else on this, other than keywords for powerarmor to tell the game they are using the helmet light instead. Seems like its one of those deeply hardcoded things. Link to comment Share on other sites More sharing options...
Recommended Posts