
Lv.1
@#¥%#@!¥%@!¥%……%&¥#@!#¥%……&*()——)(*&……%¥#@
签名:!@#¥%……¥#¥%……&%……¥#@!~@#¥%……&%……¥#@¥%……&……%¥#@%……&*
在 【魔术喵茶话会】给我推荐首歌儿吧~ 中回复
浮槎
千本樱(电吉他版)
WayBack
IllusionaryDaytime
China-X
ThePartyTroll
烟袋斜街
TokyoVania
葬花
JustBlue
GameOfThrones
TimeBack
Geisha
MEGALOVANIA
Paris
ALittleStory
TouchTheSky
Color-X3D
Astronomia(JiayeRemix)
FadeAgain
China-2
AxelF
Seve
Sanlalala(Remix)
Intro
buttercup
花之舞
Hello
Trip
Asphyxia
PDD
Spectre
Horizon
Xenogensis
Astronmia
Coin cidan ce
Time
You
Visons
Frendships
GoTime
Froniter
…………………………………………………………………………
2020-09-12T22:11:17 点赞:0
在 【代码岛3.0科普】如何设置出生点? 中回复
world.onPlayerJoin(({ entity }) => {
c喵t dialog = entity.player.dialog({
type: Box3DialogType.TEXT,
title: "@#$%",
content: `!@%$#@!%^&^%$#@$%^`,
});
});
world.onPlayerJoin(({entity})=>{
entity.position.set(115,20,15)
entity.player.spawnPoint.set(115,20,15)
})
c喵t npc = world.querySelector('#系统01');
npc.enableInteract = true; // 允许进行互动
npc.interactRadius = 8; // 实体的互动范围
npc.interactHint = npc.id; // 互动提示框显示实体的名称
npc.interactColor = new Box3RGBColor(0,0,0); // 互动提示的文字颜色
// 玩家与实体进行交互时触发
npc.onInteract(async({entity}) => {
c喵t result = await entity.player.dialog({
type: Box3DialogType.TEXT, // 对话框的类型,TEXT是文本框。
title: npc.id, // 对话框标题为NPC名字,表示正在说话的是NPC
lookEye: npc, // 将相机放在玩家位置
lookTarget: entity, // 相机镜头对准NPC
content: `@#!@@@!##$#%$#@!@#$`,
});
});
npc.onInteract(async({entity}) => {
c喵t result = await entity.player.dialog({
type: Box3DialogType.TEXT, // 对话框的类型,TEXT是文本框。
title: npc.id, // 对话框标题为NPC名字,表示正在说话的是NPC
lookEye: npc, // 将相机放在玩家位置
lookTarget: entity, // 相机镜头对准NPC
content: `首先,你的基础资金是五十F币,F币是这的金额单位`,
});
});
运行结果:

2020-09-20T07:01:41 点赞:1