I have worked on thid abillithy for a hile and dont know why this effect wont go away... anyone that can help?
JASS:
function Trig_Dummies_custom_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A02C' ) ) then
return false
endif
return true
endfunction
function Trig_Dummies_custom_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 256, 0), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 256, 90.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 256, 180.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 256, 270.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 236.00, 20.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 236.00, 110.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 236.00, 200.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 236.00, 290.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 216.00, 40.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 216.00, 130.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 216.00, 220.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 216.00, 310.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 196.00, 60.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 196.00, 150.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 196.00, 240.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 196.00, 330.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 176.00, 80.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 176.00, 170.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 176.00, 260.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 176.00, 350.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 156.00, 100.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 156.00, 190.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 156.00, 280.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 156.00, 370.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 136.00, 120.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 136.00, 210.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 136.00, 300.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 136.00, 390.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 116, 140.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 116, 230.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 116, 320.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 116, 410.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 96.00, 160.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 96.00, 250.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 96.00, 340.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 96.00, 430.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 76.00, 180.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 76.00, 270.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 76.00, 360.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 76.00, 450.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 56.00, 200.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 56.00, 290.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 56.00, 380.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 56.00, 470.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 36.00, 220.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 36.00, 310.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 36.00, 400.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 36.00, 490.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 16.00, 240.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 16.00, 330.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy2 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 16.00, 420.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy3 = GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 16.00, 510.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy4 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
call DestroyEffectBJ( udg_abilithy2 )
call DestroyEffectBJ( udg_abilithy3 )
call DestroyEffectBJ( udg_abilithy4 )
call TriggerSleepAction( 0.01)
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetSpellTargetLoc(), 0.00, 0.00), "Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl" )
set udg_abilithy1 = GetLastCreatedEffectBJ()
call TriggerSleepAction( 0.50 )
call DestroyEffectBJ( udg_abilithy1 )
endfunction
//===========================================================================
function InitTrig_Dummies_custom takes nothing returns nothing
set gg_trg_Dummies_custom = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Dummies_custom, EVENT_PLAYER_UNIT_SPELL_CAST )
call TriggerAddCondition( gg_trg_Dummies_custom, Condition( function Trig_Dummies_custom_Conditions ) )
call TriggerAddAction( gg_trg_Dummies_custom, function Trig_Dummies_custom_Actions )
endfunction
Last edited by a moderator: