- Joined
- Jun 13, 2008
- Messages
- 353
hi all,
well since there's no any site like stackoverflow for even finding this kind of basic stuff by googling it, unfortunately I have to create a thread here just find and learn the answer.
I need to get x and y of the position of the triggerer unit but 150 offset away by facing angle of triggerer unit.
I'll give rep to fastest reply...since it's gonna be way to easy for most of you
when i convert the gui code, it generates something like this:
but have no idea how to get x and y of this location.
well since there's no any site like stackoverflow for even finding this kind of basic stuff by googling it, unfortunately I have to create a thread here just find and learn the answer.
I need to get x and y of the position of the triggerer unit but 150 offset away by facing angle of triggerer unit.
I'll give rep to fastest reply...since it's gonna be way to easy for most of you
when i convert the gui code, it generates something like this:
Code:
PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 150.00, GetUnitFacing(GetTriggerUnit()))
but have no idea how to get x and y of this location.