- Joined
- Dec 16, 2007
- Messages
- 252
Okey I made a spell in GUI and is supposed to be MUI, but it isn't.
This it how it works:
When you cast the spell you'll summon a unit and you'll get a new skill.
When you cast the new skill the summoned unit will move to the targeted point by slide triggers and damage all units in its path.
You can order the unit to move to a point how many times you want till the duration is gone.
What happen when two units cast it:
Player A summons unit A
Player B summons unit B
Player A casts the new skill
Both Player A's and Player B's summoned unit moves to the target point Player A ordered.
+rep if someone could make a MUI/JASS version of this spell or find a way to make it MUI in GUI.
Here's the triggers and I'll add the map so you can see how it works. Don't think my description explained enough.
This it how it works:
When you cast the spell you'll summon a unit and you'll get a new skill.
When you cast the new skill the summoned unit will move to the targeted point by slide triggers and damage all units in its path.
You can order the unit to move to a point how many times you want till the duration is gone.
What happen when two units cast it:
Player A summons unit A
Player B summons unit B
Player A casts the new skill
Both Player A's and Player B's summoned unit moves to the target point Player A ordered.
+rep if someone could make a MUI/JASS version of this spell or find a way to make it MUI in GUI.
Here's the triggers and I'll add the map so you can see how it works. Don't think my description explained enough.
-
Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Summon Bloodseeker
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Bloodseeker_CV Less than 1000
-
Then - Actions
- Set Bloodseeker_CV = (Bloodseeker_CV + 1)
-
Else - Actions
- Set Bloodseeker_CV = 1
-
If - Conditions
- Set Bloodseeker_Caster[Bloodseeker_CV] = (Triggering unit)
- Set Bloodseeker_Loc[Bloodseeker_CV] = ((Position of Bloodseeker_Caster[Bloodseeker_CV]) offset by 200.00 towards (Facing of Bloodseeker_Caster[Bloodseeker_CV]) degrees)
- Unit - Create 1 Cleaver for (Owner of Bloodseeker_Caster[Bloodseeker_CV]) at Bloodseeker_Loc[Bloodseeker_CV] facing (Facing of Bloodseeker_Caster[Bloodseeker_CV]) degrees
- Unit - Turn collision for (Last created unit) Off
- Set Bloodseeker_Axe[Bloodseeker_CV] = (Last created unit)
- Unit - Create 1 Dummy for (Owner of Bloodseeker_Caster[Bloodseeker_CV]) at Bloodseeker_Loc[Bloodseeker_CV] facing (Facing of Bloodseeker_Caster[Bloodseeker_CV]) degrees
- Unit - Turn collision for (Last created unit) Off
- Unit - Set the custom value of (Last created unit) to Bloodseeker_CV
- Unit - Remove Summon Bloodseeker from Bloodseeker_Caster[Bloodseeker_CV]
- Unit - Add Blood Sacrifice to Bloodseeker_Caster[Bloodseeker_CV]
- Unit Group - Add (Last created unit) to Bloodseeker_DummyGroup
- Custom script: call RemoveLocation(udg_Bloodseeker_Loc[udg_Bloodseeker_CV])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Order
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Blood Sacrifice
-
Actions
-
Unit Group - Pick every unit in Bloodseeker_DummyGroup and do (Actions)
-
Loop - Actions
- Set Bloodseeker_CV2 = (Custom value of (Picked unit))
- Set Bloodseeker_DummyLoc[Bloodseeker_CV2] = (Position of Bloodseeker_Axe[Bloodseeker_CV2])
- Set Bloodseeker_Target[Bloodseeker_CV2] = (Target point of ability being cast)
- Special Effect - Create a special effect at Bloodseeker_Target[Bloodseeker_CV2] using Abilities\Weapons\HydraliskImpact\HydraliskImpact.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set life of Bloodseeker_Caster[Bloodseeker_CV2] to ((Life of Bloodseeker_Caster[Bloodseeker_CV2]) - 25.00)
- Set Bloodseeker_Angle[Bloodseeker_CV2] = (Angle from Bloodseeker_DummyLoc[Bloodseeker_CV2] to Bloodseeker_Target[Bloodseeker_CV2])
- Custom script: call RemoveLocation(udg_Bloodseeker_Target[udg_Bloodseeker_CV2])
- Custom script: call RemoveLocation(udg_Bloodseeker_DummyLoc[udg_Bloodseeker_CV2])
- Unit - Set the custom value of Bloodseeker_Axe[Bloodseeker_CV2] to Bloodseeker_CV2
- Unit Group - Add Bloodseeker_Axe[Bloodseeker_CV2] to Bloodseeker_DummyGroup2
-
Loop - Actions
-
Unit Group - Pick every unit in Bloodseeker_DummyGroup and do (Actions)
-
Events
-
Movement
-
Events
- Time - Every 0.02 seconds of game time
-
Conditions
- (Number of units in Bloodseeker_DummyGroup2) Greater than 0
-
Actions
-
Unit Group - Pick every unit in Bloodseeker_DummyGroup2 and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Bloodseeker_Wait[Bloodseeker_CV3] Greater than or equal to 20.00
-
Then - Actions
- Unit - Remove Blood Sacrifice from Bloodseeker_Caster[Bloodseeker_CV3]
- Unit - Add Summon Bloodseeker to Bloodseeker_Caster[Bloodseeker_CV3]
- Unit Group - Remove (Picked unit) from Bloodseeker_DummyGroup2
- Unit - Kill (Picked unit)
- Set Bloodseeker_Wait[Bloodseeker_CV3] = 0.00
- Custom script: call RemoveLocation(udg_Bloodseeker_AxeMoveLoc[udg_Bloodseeker_CV3])
- Custom script: call DestroyGroup(udg_Bloodseeker_EnemyGroup)
-
Else - Actions
- Set Bloodseeker_CV3 = (Custom value of (Picked unit))
- Set Bloodseeker_Wait[Bloodseeker_CV3] = (Bloodseeker_Wait[Bloodseeker_CV3] + 0.02)
- Set Bloodseeker_AxeMoveLoc[Bloodseeker_CV3] = ((Position of (Picked unit)) offset by 15.00 towards Bloodseeker_Angle[Bloodseeker_CV3] degrees)
- Set Bloodseeker_EnemyGroup = (Units within 100.00 of (Position of (Picked unit)) matching (((Unit-type of (Matching unit)) Not equal to Cleaver) and (((Matching unit) is alive) Equal to True)))
- Unit - Move (Picked unit) instantly to Bloodseeker_AxeMoveLoc[Bloodseeker_CV3], facing Bloodseeker_Angle[Bloodseeker_CV3] degrees
-
Unit Group - Pick every unit in Bloodseeker_EnemyGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is in Bloodseeker_DamageGroup) Equal to True
- Then - Actions
-
Else - Actions
- Unit - Cause Bloodseeker_Axe[Bloodseeker_CV3] to damage (Picked unit), dealing 100.00 damage of attack type Chaos and damage type Normal
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Unit Group - Add (Picked unit) to Bloodseeker_DamageGroup
- Unit Group - Remove (Picked unit) from Bloodseeker_EnemyGroup
- Custom script: call DestroyGroup(udg_Bloodseeker_EnemyGroup)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in Bloodseeker_DamageGroup and do (Actions)
-
Loop - Actions
- Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Custom value of (Picked unit)) Greater than or equal to 200
-
Then - Actions
- Unit - Set the custom value of (Picked unit) to 0
- Unit Group - Remove (Picked unit) from Bloodseeker_DamageGroup
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in Bloodseeker_DummyGroup2 and do (Actions)
-
Events