发新话题
打印

[提问] 关于npc名称显示

dofile("lua/System/BaseModule/Delegate.lua");
+ U# Q4 h: ^  ?2 Qrequire("lua/System/AllEvent/All_Talk");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート* v; G3 \/ g- L
require("lua/System/AllEvent/All_Battle");bbs.mocwww.com5 c7 e( D( R# H' ]5 z; w: D
require("lua/System/AllEvent/All_Login");魔力私服,最新魔力宝贝私服技术交流. I/ g( Z9 Q: S2 Q; F3 g: L
require("lua/System/AllEvent/All_Warp");妖城在线论坛' U- J3 C0 {) X3 r+ g4 q4 S/ a; V
require("lua/System/AllEvent/All_Other");魔力私服,最新魔力宝贝私服技术交流7 T$ ?/ X0 D" J6 k- y) ?- N: G- q
require("lua/System/BaseModule/Base");; p/ m) W% b' {3 K1 O. X
dofile("lua/System/BaseModule/luac.lua");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート3 p% j: P1 g6 C+ u
function initALL()        妖城在线论坛& a/ G% o3 A0 J. J
        --注册全局事件
2 [- X0 V5 h7 |$ t) U1 M* Bbbs.mocwww.com        NL.RegTalkEvent(nil,"All_TalkEvent");; R7 b: d- O6 k9 B& R: \
        NL.RegBattleStartEvent(nil,"All_BattleStartEvent");魔力私服,最新魔力宝贝私服技术交流) [1 A6 y$ J! Y% j
        NL.RegBattleOverEvent(nil,"All_BattleOverEvent");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート/ [) B# v" h9 m6 z
        NL.RegLoginEvent(nil,"All_LoginEvent");
9 O; L4 c0 p+ b) xbbs.mocwww.com        NL.RegLogoutEvent(nil,"All_LogoutEvent");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート% R% }9 X! _# D; H) F9 v# b: Z9 {  S
        NL.RegDropEvent(nil,"All_DropEvent");
. ~. |8 l6 q% W# H0 A4 W        NL.RegLoginGateEvent(nil,"All_LoginGateEvent");
: I0 H: Q/ s( d2 t魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表        NL.RegWarpEvent(nil,"All_WarpEvent");
8 [. Z! y5 ?3 y, D' L# W        NL.RegBattleSkillExpEvent(nil,"All_BattleSkillExpEvent");
. P9 W; j# \' h魔力私服,最新魔力宝贝私服技术交流        NL.RegProductSkillExpEvent(nil,"All_ProductSkillExpEvent");魔力私服,最新魔力宝贝私服技术交流6 n$ m' _$ \, ^& O! o# l% ~9 T" a
        NL.RegGetExpEvent(nil,"All_GetExpEvent");bbs.mocwww.com" U- L0 b5 O: X0 Y
妖城在线论坛- f1 x  V. D+ a4 P. ~) ^, S* t: l1 p  V
        dofile("lua/Config.lua");
6 Z3 C2 ?; x1 Y3 y魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表        -- Init delegate begin—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート! R) z+ t- U4 V* l, z
    for _,Func in ipairs(tbl_delegate_Init) do
6 t; A% ^; P  }9 z# `# v( Y0 C3 m魔力私服,最新魔力宝贝私服技术交流    local f = loadstring(Func.."()");       
2 x  o5 D. ^5 k7 A—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート        f();bbs.mocwww.com' ~6 }' Z4 y# H6 R, L) Y
    end魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表8 F' s  K( j9 W
    -- endbbs.mocwww.com* z$ R" C$ e! i
        魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表* Z% R3 s0 E! S; m
        dofile("lua/Module/npcms.lua");--npc显示名字以及颜色介绍
  r. W  e% r/ y6 \; ]) D# d0 q& {4 R魔力私服,最新魔力宝贝私服技术交流       
% V+ y4 K- w8 K/ L& B9 J/ mbbs.mocwww.com end魔力私服,最新魔力宝贝私服技术交流; P6 u  }1 @& X- G0 w* f
initALL();
0 [7 K5 g+ b& A1 @. W: H/ W8 a4 Dbbs.mocwww.com要有接口 lua成生才能显示NPC头顶上面的名字
# X" O4 I9 I8 e4 Z) B
3 H3 s3 ?6 L( |5 W* R) ~魔力私服,最新魔力宝贝私服技术交流[ 本帖最后由 398664677 于 2019-4-9 09:04 编辑 ]

TOP

发新话题