Tile - YSound - Play Music Track Once – Ylands

From Bohemia Interactive Community
Revision as of 14:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Play Music Track Once(Player, Music, Ignore Weather)

YlandsTile-581.png

static playMusicTrackOnce(player: YCharacter, music: YCustomMusic | YSound, overrideWeather: boolean): void;

Parameters

player

Target player

music

Music track to be played

overrideWeather

Whether the music will play over the weather effects

Availability

Server

Description

Plays the selected music track once.