---
name: "setCustomAimCoef"
type: command
status: ok
groups: ["Stamina System"]
arma3_since: "1.54"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setCustomAimCoef
revid: 319776
updated: 2022-05-13T09:24:52Z
---

# setCustomAimCoef

*Command · Stamina System · Arma 3 v1.54*

Locality: arguments **local** · effect **local**

## Description

Set custom aim precision coefficient for weapon sway

## Syntax

```sqf
unit setCustomAimCoef coef
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `coef`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
player setCustomAimCoef 3;
```

## See also

Arma 3: Stamina · [getCustomAimCoef](../commands/getCustomAimCoef.md) · [getWeaponSway](../commands/getWeaponSway.md)

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