- Joined
- Apr 4, 2011
- Messages
- 579
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Could someone show me how to make this same effect with just a couple of trggers insted of about 9-13,,
sorry i dont kno how to make image show in thread so i added attachment
Set Loc = (Position of (Triggering unit))
For each (Integer A) from 1 to 12, do (Actions)

Loop - Actions


Set Loc2 = (Loc offset by 450.00 towards ((Real((Integer A))) x 30.00) degrees)


Special Effect - Create a special effect at Loc2 using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl


Custom script: call RemoveLocation(udg_Loc2)
Custom script: call RemoveLocation(udg_Loc)
Test LOOP 2

Events


Time - Every 2.00 seconds of game time

Conditions

Actions


Set Caster = (Casting unit)


For each (Integer A) from 1 to 120, do (Actions)



Loop - Actions




Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 450.00 towards ((Real((Integer A))) x 3.00) degrees) using Abilities\Spells\Human\Blizzard\BlizzardTarget.mdl
Test

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Thunder Clap

Actions


Set Caster = (Casting unit)


Set CastLoc = (Position of Caster)


Set WarperCastPoint = (Position of (Triggering unit))


Region - Center Region 001 <gen> on (Position of Caster)


For each (Integer A) from 1 to 36, do (Actions)



Loop - Actions




Unit - Create 1 Dummy for (Owner of Caster) at WarperCastPoint facing ((Real((Integer A))) x 10.00) degrees




Set barrier[(Integer A)] = (Last created unit)


Wait 3.00 seconds


For each (Integer A) from 1 to 36, do (Actions)



Loop - Actions




Unit - Create 1 Dummy2 for (Owner of Caster) at WarperCastPoint facing ((Real((Integer A))) x 10.00) degrees


Wait 3.00 seconds


For each (Integer A) from 1 to 36, do (Actions)



Loop - Actions




Unit - Create 1 Dummy3 for (Owner of Caster) at WarperCastPoint facing ((Real((Integer A))) x 10.00) degrees


Wait 3.00 seconds


Trigger - Turn on Test LOOP <gen>


Wait 10.00 seconds


Trigger - Turn off Test LOOP <gen>


Trigger - Turn on Test LOOP 2 <gen>


Wait 12.00 seconds


Trigger - Turn off Test LOOP 2 <gen>
Test LOOP 2

Events


Time - Every 2.00 seconds of game time

Conditions

Actions


Set Caster = (Casting unit)


For each (Integer A) from 1 to 120, do (Actions)



Loop - Actions




Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 450.00 towards ((Real((Integer A))) x 3.00) degrees) using Abilities\Spells\Human\Blizzard\BlizzardTarget.mdl
Region - Center Region 001 <gen> on (Position of Caster)
Custom script: call RemoveLocation(udg_CastLoc)
Custom script: call RemoveLocation(udg_WarperCastPoint)
Set Caster = (Casting unit)
