---
name: "setText"
type: command
status: ok
groups: ["Locations"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setText
revid: 322962
updated: 2022-06-28T21:42:51Z
---

# setText

*Command · Locations · Arma 3 v0.50 · introduced in Armed Assault v1.08*

## Description

Sets the text associated with a location. This text will be displayed on the game map at the location's position.

## Syntax

```sqf
location setText text
```

**Parameters:**

- `location`: [Location](../topics/Location.md)
- `text`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
myLocation setText "Rahmadi Village";
```

## See also

[text](../commands/text.md) · [createLocation](../commands/createLocation.md)

<sub>Source: [BI Community Wiki — setText](https://community.bistudio.com/wiki/setText) (revision 322962).</sub>
