Two issues:
1. How can I make it so that bonus damage will be dealt if a unit attacks another unit from the sides or the back?
ie: a party of archers ambush a marching army from the back, dealing massive damage, as opposed to those same archers hitting them from the front, not dealing quite as much.
2. Say we have Player 1 and Player 2. Player 2 has invisible units (skill based off Night Elf Hide) scattered around. Player 1 suspects Player 2 has hidden units, so he sends a scout. When this scout comes within X distance of an invisible unit, the invisible unit and all other invisible units owned by Player 2 that are Y distance from the originally found invisible unit are all revealed for Z seconds.
1. How can I make it so that bonus damage will be dealt if a unit attacks another unit from the sides or the back?
ie: a party of archers ambush a marching army from the back, dealing massive damage, as opposed to those same archers hitting them from the front, not dealing quite as much.
2. Say we have Player 1 and Player 2. Player 2 has invisible units (skill based off Night Elf Hide) scattered around. Player 1 suspects Player 2 has hidden units, so he sends a scout. When this scout comes within X distance of an invisible unit, the invisible unit and all other invisible units owned by Player 2 that are Y distance from the originally found invisible unit are all revealed for Z seconds.