Arma 3 Scripting

BIS_fnc_radioSetTrack

  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · original wiki page

Description

Set a specific or random music track.

Syntax

syntax inferred from the function header

[track, override, param2] call BIS_fnc_radioSetTrack

Parameters:

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.

/*
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)
*/