---
name: "addForceGeneratorRTD"
type: command
status: ok
groups: ["RTD"]
arma3_since: "1.34"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/addForceGeneratorRTD
revid: 351294
updated: 2023-11-27T03:19:37Z
---

# addForceGeneratorRTD

*Command · RTD · Arma 3 v1.34*

## Description

Adds force generator to world. 

> [!NOTE]
> **afm:** For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with [difficultyEnabledRTD](../commands/difficultyEnabledRTD.md).

## Syntax

```sqf
addForceGeneratorRTD parameters
```

**Parameters:**

- `parameters`: [Array](../topics/Array.md)

**Returns:** [Number](../topics/Number.md) - force index

## See also

[forceAtPositionRTD](../commands/forceAtPositionRTD.md) · [clearForcesRTD](../commands/clearForcesRTD.md) · [forceGeneratorRTD](../commands/forceGeneratorRTD.md)

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