魔力宝贝

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

NPC.txt中WatchEvent类型脚本命令

[复制链接]
发表于 5 天前 | 显示全部楼层 |阅读模式
NPC.txt中WatchEvent类型脚本命令
珊瑚
PlayerAction
玩家动作
例: PlayerAction == 动作编号

direction
玩家面对的方向
例: PlayerAction == 方向编号

playerturned
玩家转向
例: block playerturned

playermoved
玩家走动
例: block playermoved

putanyitem / putgold
扔掉任何东西  扔掉钱币
pickupanyitem / pickupgold
拾取任何东西   拾取钱币
例: block putanyitem

putitem / putnumgold
扔掉指定道具  扔掉指定数目钱币
格式 pickitem / picknumgold
拾取指定道具  拾取指定数目钱币
例: block putitem=道具代码  block putnumgold=钱币数量

window
弹出对话框
例: window "内容"

setaction
动作
0-站立
2-跑步准备
3-跑步
4-跑步结束
5-攻击
6-魔法
7-投掷
8-受伤
9-防御
10-昏厥
11-坐下
12-招手
13-高兴
14-愤怒
15-悲伤
16-点头
17-石头
18-剪刀
19-布  
回复

使用道具 举报

Archiver|魔力研究社

GMT+8, 2025-5-15 20:13 , Processed in 0.100512 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表