Ylands:Tile - YSound - Play Music Track Looped

From Bohemia Interactive Community
Revision as of 11:15, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Play Music Track Looped(Player, Music, Repeat delay, Ignore Weather)

YlandsTile-582.png

static playMusicTrackLooped(player: YCharacter, music: YCustomMusic | YSound, repeatDelay: number, overrideWeather: boolean): void;

Parameters

player

Target player

music

Music track to be played

repeatDelay

Delay between track repeats

overrideWeather

Whether the music will play over the weather effects

Availability

Server

Description

Plays the selected music track on loop.

Play Music Track Looped(Character, Music, Repeat delay, Ignore Weather)

YlandsTile-994.png

static playMusicTrackLooped(player: YCharacter, music: (YCustomMusic | YSound)[], repeatDelay: number, overrideWeather: boolean): void;

Parameters

player

music

repeatDelay

overrideWeather

Availability

Server

Description

Plays the target list of music tracks to the selected player.