Jump to content

Function to check if player's pipboy light is on?


Recommended Posts

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

There appears to be a light form for the actual like called: defaultPipboyLight

I'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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...