-
Notifications
You must be signed in to change notification settings - Fork 19
cmd_sound
LXZ_svn_sync edited this page Oct 30, 2019
·
2 revisions
command: /sound
quick ref:
/sound name_or_filename [filename] [from_time] [volume:0-1] [pitch:0-1]
description:
play a non-loop sound by a given name. There can be only one sound playing for each name
@param filename: filepath can be relative to current world or a http:// url.
/sound anyname break.ogg 0.2 1.3 play break.ogg in channel anyname
/sound break play a predefined sound
/sound 1.mp3 play 1.mp3 on its own channel.
/sound 1.mp3 10.1 play 1.mp3 from 10.1 seconds
/sound http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=4&text=hello
这是一个WIKI百科页面,任何人都可以编辑, 了解详情 | 上传图片
Download Paracraft | ParacraftSDK | copyright by tatfook 2016 | Join Us