# getArchiMonsters

### 🎮 Méthode

```css
map:getArchiMonsters()
```

### 📝 Arguments

| Nom | Type | Description |
| --- | ---- | ----------- |

### 💎 Valeur de retour

| Type  | Description                                                      |
| ----- | ---------------------------------------------------------------- |
| {int} | Liste des identifiants des archi-monstres présents sur la carte. |

### Liste des identifiants des archi-monstres :

{% content-ref url="/pages/-MXdLALXhQGyaw2hXS-z" %}
[Identifiants Dofus PC](/ankabot-pc/identifiants-dofus-pc.md)
{% endcontent-ref %}

### Exemple :

Cette fonction détermine si l'archimonstre dont l'identifiant est **archiId** existe sur la carte :

```lua
function archiExist(archiId)
  list = map:getArchiMonsters()
  for _, archi in ipairs(list) do
    if archi == archiId then
      return true
    end
  end
  return false
end
```


---

# 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://doc.ankabot.dev/ankabot-pc/methodes/map/getarchimonsters.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.
