# Teleporter

Okay, place an object, double-click on it, and insert this code into the init field. This object where you insert this code is where the player will be able to select teleportation:

> **Arguments:**
>
> `#FB8B24` = Color of Text \
> `Name` = Action Name \
> `fob1` = Designates the location where the player will teleport.&#x20;
>
> {% code overflow="wrap" %}
>
> ```sqf
> this addAction ["<t color='#FB8B24'>Name</t>",{player setPosATL (getPosATL fob1)}];
> ```
>
> {% endcode %}

> Place a `Land_HelipadEmpty_F` and name it `fob1`. Now, the player will teleport to that exact position if they choose to do so. The object where you insert this code is where the player will be able to select teleportation.


---

# 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://kaarlos.gitbook.io/arma3-documentation/snippets-and-scripts/teleporter.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.
