- Joined
- Mar 5, 2008
- Messages
- 3,887
-
Deadly Throw
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Deadly Throw
-
Actions
- Set TempLoc34 = (Position of (Triggering unit))
- Set TempLoc35 = (Position of (Target unit of ability being cast))
- Set DistanceVar02 = ((Distance between TempLoc34 and TempLoc35) / 2.00)
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing DistanceVar02 damage of attack type Spells and damage type Normal
- Floating Text - Create floating text that reads (String((Integer(DistanceVar02)))) above (Target unit of ability being cast) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Set FloatingTextVar[4] = (Last created floating text)
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
- Floating Text - Set the velocity of (Last created floating text) to 80.00 towards 90.00 degrees
- Wait 2.00 game-time seconds
- Floating Text - Destroy FloatingTextVar[4]
- Custom script: call RemoveLocation (udg_TempLoc34)
- Custom script: call RemoveLocation (udg_TempLoc35)
-
Events
Ok, so the missle speed is 1000, max cast range is 800
And yeah where i need to put wait in (4th line in actions)
-
Deadly Throw
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Deadly Throw
-
Actions
- Set TempLoc34 = (Position of (Triggering unit))
- Set TempLoc35 = (Position of (Target unit of ability being cast))
- Set DistanceVar02 = ((Distance between TempLoc34 and TempLoc35) / 2.00)
- Wait ((1.00 + (1.00 + 1.00)) + 1.00) game-time seconds
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing DistanceVar02 damage of attack type Spells and damage type Normal
- Floating Text - Create floating text that reads (String((Integer(DistanceVar02)))) above (Target unit of ability being cast) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Set FloatingTextVar[4] = (Last created floating text)
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
- Floating Text - Set the velocity of (Last created floating text) to 80.00 towards 90.00 degrees
- Wait 2.00 game-time seconds
- Floating Text - Destroy FloatingTextVar[4]
- Custom script: call RemoveLocation (udg_TempLoc34)
- Custom script: call RemoveLocation (udg_TempLoc35)
-
Events
Thanks!
-BerZeKeR-