|
①local unit u = **()会连续的不?
②[codes=jass]native AddUnitToStock takes unit whichUnit, integer unitId, integer currentStock, integer stockMax returns nothing[/codes]
native带头的是本地函数?
③
[codes=jass]//触发1
function Trig_A00N_Func003A takes nothing returns nothing
local destructable d = GetDyingDestructable()
call KillDestructable(d)
set d = null
endfunction
function Trig_A00N_B takes nothing returns nothing
call EnumDestructablesInRect(r,null,function Trig_A00N_Func003A)
endfunction
//触发2
function Trig_A01A_B takes nothing returns nothing
call EnumDestructablesInRect(r,null,function Trig_A00N_Func003A)
endfunction[/codes]
2个不同的触发器,触发2调用触发1的函数.会不会有问题? |
|