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

# setForceGeneratorRTD

*Command · RTD · Arma 3 v1.34*

## Description

> [!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
value setForceGeneratorRTD arr
```

**Parameters:**

- `value`: [Number](../topics/Number.md)
- `arr`: [Array](../topics/Array.md)

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

## Examples

### Example 1

```sqf
something1 setForceGeneratorRTD something2;
```

## See also

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

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