darkbeer
Beer is Good!
- Reaction score
- 84
JASS:
function Trig_Untitled_Trigger_006_Actions takes nothing returns nothing
local string e = "Abilities\\Spells\\NightElf\\Taunt\\TauntCaster.mdl"
local integer i = (039;Hpal039;)
local location l = (GetRectCenter(GetPlayableMapRect()))
local unit u = (CreateUnitAtLoc(Player(0),i,l,bj_UNIT_FACING))
if GetLocalPlayer() == Player(0) then
call PanCameraTo((GetLocationX(l)),(GetLocationY(l)))
endif
call RemoveLocation (l)
call TriggerSleepAction(5.)
set l = GetUnitLoc(u)
call DestroyEffect(AddSpecialEffectLoc(e,l))
call RemoveLocation (l)
set l = null
set i = 0
set u = null
endfunction
//===========================================================================
function InitTrig_UntitledTrigger006 takes nothing returns nothing
set gg_trg_UntitledTrigger006 = CreateTrigger()
call TriggerRegisterTimerEventSingle(gg_trg_UntitledTrigger006, 1.0)
call TriggerAddAction( gg_trg_UntitledTrigger006, function Trig_Untitled_Trigger_006_Actions )
endfunction
take a look at the BJ in Tesh and see what it does ......