Tile - YSound - Play Music Track Once – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Play Music Track Once(Character, Music, Ignore We...")
 
No edit summary
Line 2: Line 2:
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
-->
== Play Music Track Once(Character, Music, Ignore Weather) ==
== Play Music Track Once(Player, Music, Ignore Weather) ==


[[File:YlandsTile-581.png]]
[[File:YlandsTile-581.png]]
Line 10: Line 10:


==== player ====
==== player ====
Target player


==== music ====
==== music ====
Music track to be played


==== overrideWeather ====
==== overrideWeather ====
Whether the music will play over the weather effects
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===

Revision as of 12:15, 12 November 2021

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.