---
name: "setLightConePars"
type: command
status: ok
groups: ["Lights"]
arma3_since: "2.06"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setLightConePars
revid: 376693
updated: 2025-11-05T22:52:10Z
---

# setLightConePars

*Command · Lights · Arma 3 v2.06*

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

## Description

Sets the `1. lightreflector`'s cone params.

## Syntax

```sqf
lightReflector setLightConePars [outerAngle, innerAngle, fadeCoef]
```

**Parameters:**

- `lightReflector`: [Object](../topics/Object.md) - object of class `1. lightreflector`
- `outerAngle`: [Number](../topics/Number.md)
- `innerAngle`: [Number](../topics/Number.md)
- `fadeCoef`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
_light setLightConePars [90, 45, 1];
```

## See also

[setLightColor](../commands/setLightColor.md) · [setLightAmbient](../commands/setLightAmbient.md) · [setLightBrightness](../commands/setLightBrightness.md) · [lightAttachObject](../commands/lightAttachObject.md) · [lightDetachObject](../commands/lightDetachObject.md) · [setLightIntensity](../commands/setLightIntensity.md) · [setLightAttenuation](../commands/setLightAttenuation.md) · [setLightUseFlare](../commands/setLightUseFlare.md) · [setLightFlareSize](../commands/setLightFlareSize.md) · [setLightFlareMaxDistance](../commands/setLightFlareMaxDistance.md) · [setLightDayLight](../commands/setLightDayLight.md) · [setLightIR](../commands/setLightIR.md)

## Community notes

**Waffle SS.** — 2022-07-20

Responds to [setLightIntensity](../commands/setLightIntensity.md), **not** [setLightBrightness](../commands/setLightBrightness.md):

```sqf
private _light = "#lightreflector" createVehicleLocal (player modelToWorld [0, 0.5, 0]);
_light setLightIntensity 3000;
_light setLightAmbient [0, 1, 0];
_light setLightColor [0, 1, 0];
_light setLightConePars [45, 10, 1];
```

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