---
name: "setGroupIdGlobal"
type: command
status: ok
groups: ["Groups"]
arma3_since: "1.48"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/setGroupIdGlobal
revid: 369314
updated: 2024-09-03T18:42:56Z
---

# setGroupIdGlobal

*Command · Groups · Arma 3 v1.48*

Locality: arguments **global** · effect **global**

## Description

A [global](../topics/Multiplayer_Scripting.md#locality) equivalent of  [setGroupId](../commands/setGroupId.md).

## Syntax

```sqf
group setGroupIdGlobal [format, keyword1, keyword2, ...]
```

**Parameters:**

- `group`: [Object](../topics/Object.md) or [Group](../topics/Group.md)
- `format`: [String](../topics/String.md) - format template (e.g "%keyword1 - %keyword2 / %keyword4 (%keyword3)")
- `keywordN`: [String](../topics/String.md) - keyword value

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

## Examples

### Example 1

```sqf
group player setGroupIdGlobal ["PAPA BEAR"];
hint groupId group player; // "PAPA BEAR"
```

## See also

[setGroupId](../commands/setGroupId.md) · [groupId](../commands/groupId.md) · [group](../commands/group.md)

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