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...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
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 ===
Line 22: Line 32:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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.