---
name: "BIS_fnc_radioSetTrack"
type: function
status: ok
groups: ["Radio"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_radioSetTrack
revid: 309831
updated: 2022-05-05T12:09:52Z
---

# BIS_fnc_radioSetTrack

*Function · Radio · Arma 3 v0.50 · introduced in Take On Helicopters v1.00*

## Description

Set a specific or random music track.

## Syntax

*syntax inferred from the function header*

```sqf
[track, override, param2] call BIS_fnc_radioSetTrack
```

**Parameters:**

- `track` — 0: (String)
- `override` — 1: (Bool)
- `param2` — 2: Bool (first track? -> start randomly within the track)

**Returns:** Array (duration (s): Scalar, start time (s): Scalar)

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Set a specific or random music track.

Parameter(s):
_this select 0: track (String)
_this select 1: override (Bool)
_this select 2: Bool (first track? -> start randomly within the track)

Returns:
Array (duration (s): Scalar, start time (s): Scalar)
*/
```

<sub>Source: [BI Community Wiki — BIS fnc radioSetTrack](https://community.bistudio.com/wiki/BIS_fnc_radioSetTrack) (revision 309831).</sub>
