Tile - YSound - Play Music Track Looped – Ylands
Jump to navigation
Jump to search
(Created page with " ---- {{Navbox/Ylands}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 1.6") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Play Music Track Looped(Player, Music, Repeat delay, Ignore Weather) == | |||
[[File:YlandsTile-582.png]] | |||
<pre>static playMusicTrackLooped(player: YCharacter, music: YCustomMusic | YSound, repeatDelay: number, overrideWeather: boolean): void;</pre> | |||
=== 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 === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Plays the selected '''music track''' on loop. | |||
== Play Music Track Looped(Character, Music, Repeat delay, Ignore Weather) == | |||
[[File:YlandsTile-994.png]] | |||
<pre>static playMusicTrackLooped(player: YCharacter, music: (YCustomMusic | YSound)[], repeatDelay: number, overrideWeather: boolean): void;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
==== music ==== | |||
==== repeatDelay ==== | |||
==== overrideWeather ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Plays the target '''list''' of '''music tracks''' to the selected '''player'''. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:27, 24 November 2023
Play Music Track Looped(Player, Music, Repeat delay, Ignore Weather)
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
Description
Plays the selected music track on loop.
Play Music Track Looped(Character, Music, Repeat delay, Ignore Weather)
static playMusicTrackLooped(player: YCharacter, music: (YCustomMusic | YSound)[], repeatDelay: number, overrideWeather: boolean): void;
Parameters
player
music
repeatDelay
overrideWeather
Availability
Description
Plays the target list of music tracks to the selected player.