- Joined
- May 11, 2008
- Messages
- 1,198
when i was first making a custom spell i was making a unit cast a spell at a point, and well, so...i found out i should use a point variable and set it to where i need it to be and after i'm done with it i should remove it.
but now i'm thinking instead of bothering with the variable i can just do convert coordinates to point for the command in casting the spell, and use the x and y of the unit...and this will be leakless, right?
conversion functions seem to be really nice to use...i've been looking for using them wherever possible lately.
i think this is a good alternative, so let me know for sure.
but now i'm thinking instead of bothering with the variable i can just do convert coordinates to point for the command in casting the spell, and use the x and y of the unit...and this will be leakless, right?
conversion functions seem to be really nice to use...i've been looking for using them wherever possible lately.
i think this is a good alternative, so let me know for sure.
-
pandaren flames
- Events
-
Conditions
- (Ability being cast) Equal to (==) |cff20b2aaPandaren Flames|r (frenzy)
-
Actions
- Set points = (Position of (Casting unit))
- Unit - Create 1 Archer for (Owner of (Casting unit)) at points facing Default building facing (270.0) degrees
- Unit - Order (Last created unit) to Human Blood Mage - Flame Strike points
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Point - Remove points
-
pandaren flames
- Events
-
Conditions
- (Ability being cast) Equal to (==) |cff20b2aaPandaren Flames|r (frenzy)
-
Actions
- Unit - Create 1 Archer for (Owner of (Casting unit)) at (Point((X of (Casting unit)), (Y of (Casting unit)))) facing Default building facing (270.0) degrees
- Unit - Order (Last created unit) to Human Blood Mage - Flame Strike (Point((X of (Casting unit)), (Y of (Casting unit))))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Last edited: