# Lighting (Headlamps)

## 1. Usage

To use a flashlight, equip a piece of gear that has a built in flashlight. If you're using ACE, the ACE Arsenal will show the available light modes for gear with flashlights. Helmets, facewear, uniforms, and vests are all able to have flashlights equipped.

Once you have a compatible piece of gear equipped, you can turn on its flashlight in one of two ways. To disable the light, simply repeat one of the steps.

1. Using the keybind, which will grab the first piece of gear found, going in order of helmet; nvgs; facewear; uniform; vest.
2. Using the CBA context (double click) action on whatever piece of gear in your inventory.

### 1.1 Changing light mode

Most flashlights will also have separate "light modes". This can be any number of things, but the most common differences are the brightness and/or color of the light(s).

To change the light mode of the current gear, use the "Cycle Mode" keybind, which will change the mode of your current flashlight.

## 2. Keybinds

| Name         | Description                     | Default Keybind  |
| ------------ | ------------------------------- | ---------------- |
| Toggle Light | Toggle lights on/off.           | Ctrl + L         |
| Cycle Mode   | Changes the current light mode. | Shift + Ctrl + L |

## 3. Settings

| Name                      | Description                                                                 | Default Value |
| ------------------------- | --------------------------------------------------------------------------- | ------------- |
| Enable Flashlights for AI | If enabled, AI will automatically enable gear-mounted flashlights at night. | True          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://legion-studios.gitbook.io/legion-studios/features/lighting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
