|
如果我没记错的话,用timer肯定是比T里的时间周期事件更效率吧? |
[/table] | [table=100%,#dee9df]碍于现在处于新手阶段,我不能把大量的T都写成J |
所以,我想仅仅只是单纯的把T里的‘时间周期事件’换成用timer的方式来触发 |
[jass]
function Trig_IniTmr_01 takes nothing returns nothing
call ConditionalTriggerExecute( gg_trg_AngleOfView )
call ConditionalTriggerExecute( gg_trg_OperationMove )
call ConditionalTriggerExecute( gg_trg_Menu_02 )
call ConditionalTriggerExecute( gg_trg_Menu_03 )
endfunction
function InitTrig_IniTmr takes nothing returns nothing
local timer tm = CreateTimer()
call TimerStart(tm,0.05,true,function Trig_IniTmr_01)
set tm = null
endfunction
[/jass] |
|