Tile - YSound - Play Music Track Looped – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

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

YlandsTile-582.png

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

Parameters

player

music

repeatDelay

overrideWeather

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

Description

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