|
楼主 |
发表于 2009-3-16 00:11:17
|
显示全部楼层
function Trig_Jass_Actions takes nothing returns nothing
set udg_point = GetRectCenter(GetPlayableMapRect())
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 10
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call CreateNUnitsAtLoc( 1, 'hfoo', Player(0), udg_point, bj_UNIT_FACING )
call PolledWait( 2 )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
call RemoveLocation( udg_point )
endfunction
//===========================================================================
function InitTrig_Jass takes nothing returns nothing
set gg_trg_Jass = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Jass, 0.00 )
call TriggerAddAction( gg_trg_Jass, function Trig_Jass_Actions )
就象这 基础教程里的 怎么可能看懂额 伤心
就不能收个徒弟 。。汗 我会很用心的去学的 |
|