---
name: "forceGeneratorRTD"
type: command
status: ok
groups: ["RTD"]
arma3_since: "1.34"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/forceGeneratorRTD
revid: 348782
updated: 2023-11-08T14:33:16Z
---

# forceGeneratorRTD

*Command · RTD · Arma 3 v1.34 · introduced in Take On Helicopters v1.00*

## 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
forceGeneratorRTD index
```

**Parameters:**

- `index`: [Number](../topics/Number.md) - index

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

## Examples

### Example 1

```sqf
forceGeneratorRTD 2;
```

## See also

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

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