- Joined
- Jul 20, 2009
- Messages
- 295
Hello,
1) I would like to know how I could detect if a unit is behind another?
E.g. a unit facing 90 degrees, another unit is somewhere 225-315 degrees behind that unit. Check if that is true.
2) I would also like to know how I could change the hotkeys for attack,move,patrol,stop just like that in The Chosen Ones (Found in Hosted Projects) and! the hero has the attack in a spellbook, how is that possible?
Thanks +reps for the helper(s).
1) I would like to know how I could detect if a unit is behind another?
E.g. a unit facing 90 degrees, another unit is somewhere 225-315 degrees behind that unit. Check if that is true.
2) I would also like to know how I could change the hotkeys for attack,move,patrol,stop just like that in The Chosen Ones (Found in Hosted Projects) and! the hero has the attack in a spellbook, how is that possible?
Thanks +reps for the helper(s).