|
楼主 |
发表于 2009-5-9 19:16:55
|
显示全部楼层
[jass]
globals
location array udg_l
integer array udg_i
endglobals
function H2I takes handle h returns integer
return h
return 0
endfunction
function I2H takes integer i returns handle
return i
return null
endfunction
function a takes nothing returns nothing
local location array udg_l
local integer array udg_i
local location udg_locat
set udg_locat = Location(0,0)
call DisplayTimedTextToPlayer(Player(1),0,0,60,I2S(H2I(udg_locat)))
set udg_l [0] = udg_locat
call DisplayTimedTextToPlayer(Player(1),0,0,60,I2S(udg_i[0]))
endfunction
[/jass]
想研究下UNIONBUG的数组版
没udg不行呢
结果老报错
用的是WOW8的二版WE |
|