|
楼主 |
发表于 2008-5-18 17:56:54
|
显示全部楼层
请问一下这个要怎么看?
function Trig_NewTrigger_Conditions takes nothing returns boolean
return
endfunction
function Trig_NewTrigger_Actions takes nothing returns nothing
endfunction
//==== Init Trigger NewTrigger ====
function InitTrig_NewTrigger takes nothing returns nothing
set gg_trg_NewTrigger = CreateTrigger()
//call TriggerRegister__(gg_trg_NewTrigger, )
call TriggerAddCondition(gg_trg_NewTrigger, Condition(function Trig_NewTrigger_Conditions))
call TriggerAddAction(gg_trg_NewTrigger, function Trig_NewTrigger_Actions)
endfunction |
|