- Joined
- Dec 30, 2008
- Messages
- 41
I would like to clean this spell up make it less triggers etc, I would like some advice on what 2 do or even better an example
please and thank you! When it is finished i will make sure i post it on the spells section because it really is cool.
Im also aware the hive does not like long posts like this and like it to be put in that contained box..but idk how to do it lol sorry =\
-
Start
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Ice barrage
-
-
Actions
-
Set Caster = (Casting unit)
-
Set pointofcasted = (Target point of ability being cast)
-
Unit - Create 1 Dummy for (Owner of Caster) at pointofcasted facing Default building facing degrees
-
Set dummy = (Last created unit)
-
Trigger - Turn on Loopattempt <gen>
-
Sound - Play war3mapImported\The wonderful sound of ice barrage.mp3
-
Wait 1.40 seconds
-
Unit - Order dummy to Orc Tauren Chieftain - War Stomp
-
Wait 2.00 seconds
-
Trigger - Turn off Loopattempt <gen>
-
Unit - Remove dummy from the game
-
Set Count2stp = 0
-
Set degrees = 0.00
-
-
-
Loopattempt
-
Events
-
Time - Every 0.03 seconds of game time
-
-
Conditions
-
Count2stp Not equal to 39
-
-
Actions
-
Unit - Order dummy to Orc Tauren Chieftain - Shockwave (pointofcasted offset by 300.00 towards degrees degrees)
-
Set degrees = (degrees + 10.00)
-
Set Count2stp = (Count2stp + 1)
-
-
-
effect
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to FREEZE! (Neutral Hostile 1)
-
-
Actions
-
Set unitgroup = (Units in (Region centered at pointofcasted with size (1200.00, 1200.00)) matching ((((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True) and (((Matching unit) is alive) Equal to True)))
-
Set inta = 0
-
Unit Group - Pick every unit in unitgroup and do (Actions)
-
Loop - Actions
-
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
-
Set inta = (inta + 1)
-
Set Specialeffect[inta] = (Last created special effect)
-
-
-
Wait 3.00 seconds
-
For each (Integer A) from 1 to inta, do (Actions)
-
Loop - Actions
-
Special Effect - Destroy Specialeffect[(Integer A)]
-
-
-
-
Im also aware the hive does not like long posts like this and like it to be put in that contained box..but idk how to do it lol sorry =\