- Joined
- Mar 23, 2008
- Messages
- 942
JASS:
function Trig_Rasengan_Effect_Actions takes nothing returns nothing
local unit u = udg_tempunit[1]
call AddSpecialEffectTargetUnitBJ( "chest", u, "Abilities\\Weapons\\SpiritOfVengeanceMissile\\SpiritOfVengeanceMissile.mdl" )
call TriggerSleepAction( 1.70 )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
endfunction
//===========================================================================
function InitTrig_Rasengan_Effect takes nothing returns nothing
set gg_trg_Rasengan_Effect = CreateTrigger( )
call TriggerAddAction( gg_trg_Rasengan_Effect, function Trig_Rasengan_Effect_Actions )
endfunction
Yes, its just a normal GUI trigger converted to use local variables xD
But after 1.7s the effect don't vanish.