- 精华
- 阅读权限
- 60
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2013-2-21
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2014-9-24 00:37:47
|
显示全部楼层
司马大神终于又露面了 想当初深海端的出世 要不是畜生拿您的端卖钱估计现在早就几乎和官服同步了 哎怀念哪!最近看脚本总看到function x391001_OnDefaultEvent( sceneId, selfId, targetId)
BeginEvent(sceneId)
--AddText(sceneId, "#{ZBDW_091105_1}")
AddText(sceneId, "#cFF0000雕纹提示:#r#G先合成雕纹符,在用装备雕纹#r[和官方一致]#r#cFF0000只有90+装备+神器+重楼+鲜花武器可雕纹!")
AddNumText(sceneId, x391001_g_scriptId,"雕纹合成", 6, 1)
AddNumText(sceneId, x391001_g_scriptId,"雕纹蚀刻", 6, 2)
AddNumText(sceneId, x391001_g_scriptId,"雕纹强化", 6, 3)
AddNumText(sceneId, x391001_g_scriptId,"雕纹拆除", 6, 4)
AddNumText(sceneId, x391001_g_scriptId,"关于装备雕纹", 11, 5)
AddNumText(sceneId, x391001_g_scriptId,"我只是路过的", 8, 9999)
AddNumText(sceneId, x391001_g_scriptId,"60个BUFF测试", 8, 99)
--AddNumText(sceneId, x391001_g_scriptId,"1", 8, 8) 括号里面的 1,2,3,4,5,8,11,99.。。。。。这些数字是随便改还是代表什么
function x391001_OnEventRequest( sceneId, selfId, targetId, eventId )
local key=GetNumText()
if key==9999 then
x391001_CloseMe(sceneId, selfId)
elseif key==1 then
BeginUICommand(sceneId)
UICommand_AddInt(sceneId,targetId)
EndUICommand(sceneId)
DispatchUICommand(sceneId,selfId, 1000156)
elseif key==2 then
BeginUICommand(sceneId)
UICommand_AddInt(sceneId,targetId)
EndUICommand(sceneId)
DispatchUICommand(sceneId,selfId, 2000156)
elseif key==3 then
BeginUICommand(sceneId)
UICommand_AddInt(sceneId,targetId)
EndUICommand(sceneId)
DispatchUICommand(sceneId,selfId, 3000156)
elseif key==4 then
BeginUICommand(sceneId)
UICommand_AddInt(sceneId,targetId)
EndUICommand(sceneId)
DispatchUICommand(sceneId,selfId, 4000156) 这括号里的1000156,2000156,3000156。。。搜了N多代码都没找到求大神麻烦帮我下 谢啦 |
|