| 02-26-2010, 11:42 PM | #1 |
Greets. Is there any ability with a Targeting Area that will give coordinates of the point you click with GetOrderPointX() & GetOrderPointY()? I started with Dispel Magic as the dummy not thinking it might not work, and then when it didn't I tried Channel modified to have a Target Area. It didn't give coords either. Alternately, is there any functional way to get the center coordinates for a target area? |
| 02-26-2010, 11:48 PM | #2 |
GetSpellTargetX(), GetSpellTargetY() |
| 02-27-2010, 12:06 AM | #3 |
B'duh! Thanks bro, that was exactly the problem. |
| 02-27-2010, 11:54 AM | #4 |
It really depends what event your using. If you're using EVENT_UNIT_ISSUED_POINT_ORDER then you will reference the point coordinates as GetOrderPointX and GetOrderPointY. If you're using EVENT_UNIT_SPELL_EFFECT then you will reference the target coordinates as GetSpellTargetX and GetSpellTargetY. |
