# Submarine Attack

If you want to make your helicopter compatible with the submarine attack activity, you need to set up a weapons system and set the following local variables:

### Lvars to set

<table data-header-hidden data-full-width="false"><thead><tr><th width="326.79998779296875">LVar</th><th>Description</th></tr></thead><tbody><tr><td><strong>MMH_COMPATIBILITY_SUBMARINE_ATTACK</strong></td><td>Always set to 1</td></tr><tr><td><strong>MMH_MISSILES_SHOT</strong></td><td>Set to 1 when a missile has been shot</td></tr><tr><td><strong>MMH_TORPEDO_SHOT</strong></td><td>Set to 1 when a torpedo has been shot</td></tr></tbody></table>


---

# 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://docs.miltechsimulations.com/miltech-mission-hub/developer-sdk/activities-setup/submarine-attack.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.
