# Submarine Attack

You can spawn a submarine in the world that the player will have to find, intercept, and disable.

### Attributes

<table data-header-hidden data-full-width="false"><thead><tr><th width="109.99993896484375">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Active On Start</strong></td><td><strong>Enabled:</strong> as soon as the missions starts, the submarine will be spawned and the related objectives will be shown.<br><strong>Disabled:</strong> you need to activate this activity during the mission</td></tr><tr><td><strong>Submarine Model</strong></td><td><p>Can be:</p><ul><li>American Sub</li><li>Russian Sub</li><li>Illegal Sub</li></ul></td></tr><tr><td><strong>Spawn Radius</strong></td><td>Radius (meters) in which the submarine is randomly spawned (0 = exact location).</td></tr><tr><td><strong>Orientation</strong></td><td>Direction in which the submarine is traveling (true north degrees).</td></tr><tr><td><strong>Speed</strong></td><td>Speed of the sub in knots.</td></tr><tr><td><strong>Show Direction</strong></td><td>In the HUD, show the the exact direction to the submarine.</td></tr></tbody></table>

### Actions

<table data-header-hidden><thead><tr><th width="110">Action</th><th>Description</th></tr></thead><tbody><tr><td><strong>Activate</strong></td><td>If it wasn't active yet, the submarine will be spawned and the objectives will be shown.</td></tr><tr><td><strong>Deactivate</strong></td><td>The submarine will be removed from the world, and the objectives will be deactivated.</td></tr></tbody></table>

### Events

<table data-header-hidden><thead><tr><th width="109.99993896484375">Event</th><th>Description</th></tr></thead><tbody><tr><td><strong>Attack Completed</strong></td><td>Fires when the player intercepted the submarine and fired a missile or torpedo at the submarine.</td></tr><tr><td><strong>Attack Failed</strong></td><td>Fires when the player intercepted the submarine and fired a missile or torpedo, <strong>but missed the submarine.</strong></td></tr></tbody></table>

## See also

* For only intercept missions, use [Submarine Intercept](/miltech-mission-hub/detailed-documentation/map-objects/submarine-intercept.md).
* You could start the mission on a [Ship](/miltech-mission-hub/detailed-documentation/map-objects/ship.md).


---

# 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/detailed-documentation/map-objects/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.
