|
楼主 |
发表于 2009-9-2 16:38:01
|
显示全部楼层
function Trig____________________002_Conditions takes nothing returns boolean
if ( not ( GetIssuedOrderId() == 852002 ) ) then
return false
endif
return true
endfunction
function Trig____________________002_Actions takes nothing returns nothing
call KillUnit( gg_unit_Hpal_0000 )
endfunction
//===========================================================================
function InitTrig____________________002 takes nothing returns nothing
set gg_trg____________________002 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg____________________002, EVENT_PLAYER_UNIT_ISSUED_ORDER )
call TriggerAddCondition( gg_trg____________________002, Condition( function Trig____________________002_Conditions ) )
call TriggerAddAction( gg_trg____________________002, function Trig____________________002_Actions )
endfunction
还是不行诶。。。。
帮忙看看哪里错了。。。 |
|