|
楼主 |
发表于 2008-2-20 14:58:39
|
显示全部楼层
于是又有个问题```
set skilltimer=null
是在循环计数150次后set,还是在每计数1次后都set
(TO 6楼```
我本来是想把计时器的循环改false的````)
[codes=jass]function count takes nothing returns nothing
set udg_IntergerNum=udg_IntegerNum+1
endfunction
//===========================================
function skilltimer1 takes nothing returns nothing
local timer skilltimer=CreateTimer()
call TimerStart(skilltimer, 0.02, true, function count)
set skilltimer=null
endfunction
//===========================================
call skilltimer1()
if udg_IntCount< 150 then
...[/codes] |
|