发新话题
打印

[提问] 关于npc名称显示

关于npc名称显示

请教下大神npc名称显示,如何通过lua支持显示名称出来

TOP

dofile("lua/System/BaseModule/Delegate.lua");
7 S0 W1 Y8 x$ k9 w: t妖城在线论坛require("lua/System/AllEvent/All_Talk");" @6 g5 a6 S4 c9 @& ~6 M
require("lua/System/AllEvent/All_Battle");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート5 _. W! n2 e# l
require("lua/System/AllEvent/All_Login");bbs.mocwww.com& b9 z1 a8 B' ?- F4 M
require("lua/System/AllEvent/All_Warp");魔力私服,最新魔力宝贝私服技术交流8 {" @% u2 I4 F) A+ F
require("lua/System/AllEvent/All_Other");
  [9 o  f8 n1 p妖城在线论坛require("lua/System/BaseModule/Base");
" x+ d, y7 q# O/ O: k; I& t魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表dofile("lua/System/BaseModule/luac.lua");
" O/ p6 b0 m) L8 p) C2 ~魔力私服,最新魔力宝贝私服技术交流function initALL()       
1 d4 M( Z9 K" v7 M妖城在线论坛        --注册全局事件
: \: b9 ]. n% W  r妖城在线论坛        NL.RegTalkEvent(nil,"All_TalkEvent");
) X1 W3 w2 l: I% r" X  q        NL.RegBattleStartEvent(nil,"All_BattleStartEvent");魔力私服,最新魔力宝贝私服技术交流2 ^1 L" P  Z2 N$ x& D6 p, y
        NL.RegBattleOverEvent(nil,"All_BattleOverEvent");
4 s6 I0 D! ~% o妖城在线论坛        NL.RegLoginEvent(nil,"All_LoginEvent");魔力私服,最新魔力宝贝私服技术交流6 U/ r" T4 ^4 P% l0 s+ q7 @5 e; ~
        NL.RegLogoutEvent(nil,"All_LogoutEvent");妖城在线论坛2 T4 Z% u; Q9 v' U1 m3 x
        NL.RegDropEvent(nil,"All_DropEvent");* B0 M, `" J1 W" ^1 m3 q. z% V
        NL.RegLoginGateEvent(nil,"All_LoginGateEvent");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート/ |0 S( N5 w) g' m
        NL.RegWarpEvent(nil,"All_WarpEvent");
, F* G$ e. S0 c妖城在线论坛        NL.RegBattleSkillExpEvent(nil,"All_BattleSkillExpEvent");; s' k; D9 f/ Z5 i) s; b
        NL.RegProductSkillExpEvent(nil,"All_ProductSkillExpEvent");bbs.mocwww.com! V* R; A+ t4 m8 X
        NL.RegGetExpEvent(nil,"All_GetExpEvent");魔力私服,最新魔力宝贝私服技术交流! V1 h9 i# u; z6 L

0 m, ?7 p# }9 x% t4 ^+ E6 @5 u魔力私服,最新魔力宝贝私服技术交流        dofile("lua/Config.lua");
( F# a+ P- s9 W' T" G8 W妖城在线论坛        -- Init delegate begin5 I: B# I+ i  q& r: j- Y" |4 A
    for _,Func in ipairs(tbl_delegate_Init) do妖城在线论坛0 b$ w+ Z% u) S
    local f = loadstring(Func.."()");       
5 d5 B0 U5 s+ k) p( }2 T- hbbs.mocwww.com        f();
% \+ c1 N1 I( k1 I3 e, G7 w) gbbs.mocwww.com    end—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート0 K! k3 h* k8 a) p/ G
    -- end魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表  r$ T/ Q  `3 N$ |- h6 V' V
       
0 x% [* S7 A( e+ f0 P* H2 e; m魔力私服,最新魔力宝贝私服技术交流        dofile("lua/Module/npcms.lua");--npc显示名字以及颜色介绍
7 I8 x3 v- E# q/ Q9 M+ L1 t* ?1 E0 k—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート       
7 C% I& Q9 K2 \3 A. s( R妖城在线论坛 end
- o+ n* w5 V" X, X  _initALL();—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート! \; j* b, ]8 x  \$ V1 F# c4 n
要有接口 lua成生才能显示NPC头顶上面的名字—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート2 M; L# x1 v3 a( o

1 Y6 K% x/ S3 x) r4 N[ 本帖最后由 398664677 于 2019-4-9 09:04 编辑 ]

TOP

回复 沙发 的帖子

因不知道通过什么代码来实现显示,可否指点下,万分感谢

TOP

发新话题