var date = new Date();
var day = date.getDay();
getMusicName(day);
var musicPath = "";
function getMusicName(day) {
switch (day) {
case 0:
musicName = "有趣的";
musicPath = "Bgm11/Aquarium";
break;
case 1:
musicName = "恐怖的";
musicPath = "Bgm05/WolfWood";
break;
case 2:
musicName = "有意思的";
musicPath = "Bgm07/FunnyTimeMaker";
break;
case 3:
musicName = "忧郁的";
musicPath = "Bgm02/MissingYou";
break;
case 4:
musicName = "冰冷冷的";
musicPath = "Bgm01/AncientMove";
break;
case 5:
musicName = "晴朗的";
musicPath = "Bgm02/AboveTheTreetops";
break;
case 6:
musicName = "雄壮的";
musicPath = "Bgm00/Nightmare";
break;
}
}
function act() {
if (rm != null) {
rm.changeMusic(musicPath);
rm.playerMessage(5, "音樂盒撥出了" + musicName + "音樂. ");
}
var em = rm.getEventManager("OrbisPQ");
if (em != null) {
em.setProperty("stage3", "1");
}
}
2024-7-16 12:50
签到天数: 1 天
[LV.1]初来乍到
初级会员
*
* 2025年2月20日整理
* 作者: 野原广志 QQ871337167 接79/85/95脚本玩法定制
*/
var date = new Date();
var day = date.getDay();
getMusicName(day);
var musicPath = "";
function getMusicName(day) {
switch (day) {
case 0:
musicName = "有趣的";
musicPath = "Bgm11/Aquarium";
break;
case 1:
musicName = "恐怖的";
musicPath = "Bgm05/WolfWood";
break;
case 2:
musicName = "有意思的";
musicPath = "Bgm07/FunnyTimeMaker";
break;
case 3:
musicName = "忧郁的";
musicPath = "Bgm02/MissingYou";
break;
case 4:
musicName = "冰冷冷的";
musicPath = "Bgm01/AncientMove";
break;
case 5:
musicName = "晴朗的";
musicPath = "Bgm02/AboveTheTreetops";
break;
case 6:
musicName = "雄壮的";
musicPath = "Bgm00/Nightmare";
break;
}
}
function act() {
if (rm != null) {
rm.changeMusic(musicPath);
rm.playerMessage(5, "音樂盒撥出了" + musicName + "音樂. ");
}
var em = rm.getEventManager("OrbisPQ");
if (em != null) {
em.setProperty("stage3", "1");
}
}
使用道具 举报