|
发表于 2007-7-4 12:10:36
|
显示全部楼层
function Trig________________u_Conditions takes nothing returns boolean
if ( not ( IsUnitIllusionBJ(GetTriggerUnit()) == true ) ) then
return false
endif
return true
endfunction
function Trig________________u_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig________________u takes nothing returns nothing
set gg_trg________________u = CreateTrigger( )
call TriggerAddCondition( gg_trg________________u, Condition( function Trig________________u_Conditions ) )
call TriggerAddAction( gg_trg________________u, function Trig________________u_Actions )
endfunction |
|