本帖最后由 2357691704 于 2016-12-10 14:15 编辑
看164行,首先填写好。然后要打开相应开关才行。例如第一个传送选项的(52,1000,32,9,30),即52开关要打开(打开开关就代表探索过了),扣除金钱1000,传送到32号地图(要有这个地图)的横坐标9纵坐标30.
case @command_window.index when 0 #第一个选项 Fei_item(52,1000,32,9,30) #(开关,钱,地图ID,X坐标,Y坐标) when 1 Fei_item(52,1000,32,9,30) when 2 Fei_item(53,1000,32,9,30) when 3 Fei_item(54,1000,32,9,30) when 4 Fei_item(55,1000,32,9,30) when 5 Fei_item(56,1000,32,9,30) when 6 Fei_item(57,1000,32,9,30) when 7 Fei_item(58,1000,32,9,30) when 8 Fei_item(59,1000,32,9,30) when 9 Fei_item(60,1000,32,9,30) #如果上面添加多了按钮,这里也得添加. 相应复制就可以了. end return end end
case @command_window.index
when 0 #第一个选项
Fei_item(52,1000,32,9,30) #(开关,钱,地图ID,X坐标,Y坐标)
when 1
Fei_item(52,1000,32,9,30)
when 2
Fei_item(53,1000,32,9,30)
when 3
Fei_item(54,1000,32,9,30)
when 4
Fei_item(55,1000,32,9,30)
when 5
Fei_item(56,1000,32,9,30)
when 6
Fei_item(57,1000,32,9,30)
when 7
Fei_item(58,1000,32,9,30)
when 8
Fei_item(59,1000,32,9,30)
when 9
Fei_item(60,1000,32,9,30) #如果上面添加多了按钮,这里也得添加. 相应复制就可以了.
end
return
end
end
|