|
rt如果下面的函数命令敌人无效。。。而命令自己人有效
这是图。。。比较长,所以不敢发。。
//function wolf1 takes nothing returns nothing
//local timer tm=GetExpiredTimer()
//local integer i=LoadInteger(udg_HT,GetHandleId(tm),1)
//local unit me=LoadUnitHandle(udg_HT,GetHandleId(udg_HT),StringHash("wolf")+i+1)
// call AddSpecialEffectTarget( "Abilities\\Spells\\Orc\\Voodoo\\VoodooAura.mdl",me,"overhead" )
//call IssueTargetOrder( me, "thunderbolt", gg_unit_Edem_0000 )
//call DisplayTextToPlayer(Player(0),0,0,I2S(GetHandleId(me)))
//set i=i+1
//call SaveInteger(udg_HT,GetHandleId(tm),1,i)
//if i>3 then
// call FlushChildHashtable(udg_HT,GetHandleId(tm))
// call DestroyTimer(tm)
//endif
//set tm=null
//set me=null
//endfunction |
|