- Joined
- Jun 16, 2010
- Messages
- 48
I Will Glad If Some One Can Spend His/Her Time 4 Me !
Look Guys I Have 2 leaks part , But when i remove them as usual it make a bug to my spell.
Look I Have A Posision Leak And A Group Leaks But I Cant Delete Them Normally.
I Should Add if you see any thing that make my spell to not be Mui pls help me fix it
Look Guys I Have 2 leaks part , But when i remove them as usual it make a bug to my spell.
Look I Have A Posision Leak And A Group Leaks But I Cant Delete Them Normally.
-
AbilCast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to HolySaliiiib
-
Actions
- Set salib_pos = (Target point of ability being cast)
- Set Unit_DoroVar = (Units within 700.00 of salib_pos matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Unit - Create 1 SalibDummy for (Owner of (Triggering unit)) at salib_pos facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (150.00%, 150.00%, 150.00%) of its original size
- Unit - Add a 3.50 second Generic expiration timer to (Last created unit)
- Special Effect - Create a special effect at salib_pos using Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
- Special Effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in Unit_DoroVar and do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at salib_pos facing Default building facing degrees
- Unit - Add Death Grip to (Last created unit)
- Unit - Set level of Death Grip for (Last created unit) to 1
- Unit - Order (Last created unit) to Human Dragonhawk Rider - Aerial Shackles (Picked unit)
- Unit - Add a 3.50 second Generic expiration timer to (Last created unit)
-
Loop - Actions
-
Events
-
Start
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Death Grip
-
Actions
- Set Position = (Position of (Triggering unit))
- Set Position2 = (Position of (Target unit of ability being cast))
- Set Angle = ((Angle from Position to Position2) + 180.00)
- Set Distance = 10.00
- Set RemainingTime = ((Distance between Position and Position2) - 100.00)
- Set Caster = (Triggering unit)
- Hashtable - Save Handle Of(Target unit of ability being cast) as (Key target) of (Key (Triggering unit)) in Hashtable
- Hashtable - Save Distance as (Key distance) of (Key (Target unit of ability being cast)) in Hashtable
- Hashtable - Save RemainingTime as (Key time) of (Key (Target unit of ability being cast)) in Hashtable
- Hashtable - Save Angle as (Key angle) of (Key (Target unit of ability being cast)) in Hashtable
- Hashtable - Save Handle OfCaster as (Key caster) of (Key (Target unit of ability being cast)) in Hashtable
- Unit Group - Add (Target unit of ability being cast) to UnitGroup
- Unit - Turn collision for (Target unit of ability being cast) Off
- Custom script: call RemoveLocation(udg_Position)
- Custom script: call RemoveLocation(udg_Position2)
- Trigger - Turn on Loop <gen>
-
Events
-
Loop
-
Events
- Time - Every 0.04 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in UnitGroup) Greater than 0
-
Then - Actions
-
Unit Group - Pick every unit in UnitGroup and do (Actions)
-
Loop - Actions
- Set Distance = (Load (Key distance) of (Key (Picked unit)) from Hashtable)
- Set Angle = (Load (Key angle) of (Key (Picked unit)) from Hashtable)
- Set RemainingTime = (Load (Key time) of (Key (Picked unit)) from Hashtable)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RemainingTime Greater than 0.00
-
Then - Actions
- Set Position = (Position of (Picked unit))
- Set Position2 = (Position offset by (Load (Key distance) of (Key (Picked unit)) from Hashtable) towards (Load (Key angle) of (Key (Picked unit)) from Hashtable) degrees)
- Unit - Move (Picked unit) instantly to Position2
- Hashtable - Save (RemainingTime - 10.00) as (Key time) of (Key (Picked unit)) in Hashtable
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\HealingSpray\HealBottleMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_Position)
- Custom script: call RemoveLocation(udg_Position2)
-
Else - Actions
- Unit - Turn collision for (Picked unit) On
- Unit - Pause (Load (Key caster) of (Key (Picked unit)) in Hashtable)
- Unit - Unpause (Load (Key caster) of (Key (Picked unit)) in Hashtable)
- Hashtable - Clear all child hashtables of child (Key (Picked unit)) in Hashtable
- Unit Group - Remove (Picked unit) from UnitGroup
-
If - Conditions
-
Loop - Actions
-
Unit Group - Pick every unit in UnitGroup and do (Actions)
-
Else - Actions
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
I Should Add if you see any thing that make my spell to not be Mui pls help me fix it