UID216207
帖子
精華
主題
積分74225
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限40
註冊時間2009-11-27
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 開心 2024-9-6 01:09 AM |
---|
簽到天數: 1324 天 連續簽到: 1 天 [LV.10]以壇為家III
|
發表於 2010-4-9 13:44:22
|
顯示全部樓層
不是不能用 太多 npc 是不能在同時間又觸發別的事件
那英文說明 不是我的簽名 也不是我說的 請看懂他的意思
npc_click: npc_id != 0
Source Syntax: ShowError("npc_click: npc_id != 0\n");
Cause
This error seems to occur when a player uses more than one NPC at the same time. Unlike common sense, this is possible. It can happen when an event is triggered by the player (through a timer for example), and while that code is being executed, the player clicks/starts another NPC.
Solution
This error is hard to prevent to be honest. You will have to check in some way if there is any way for a player to be using a NPC and at the same time having an event triggered at another NPC. |
|