Can you make it so that Unit "a" can inflict more damage when unit 'b' faces towards a particular angle?
As far as telling you it's possible, yes. At least from behind. I've seen it in a couple maps/tutorials already. As to the how ... I probably shouldn't have posted since I don't know lol! But I thought I would at least tell you it's possible.
Two ways come to mind depending on what exactly you're going to do with this.
method 1: Have a trigger fire on Event- Unit takes damage. Make a comparison based on the unit's or units' facing directions and add any extra damage as necessary. This would probably require knowing the exact amounts of damage to add, but would require the least amount of work.
method 2: Have a trigger either periodically, on Ability- Move (turn) if that doesn't lag, or on a dummy damage effect apply a Buff to the unit with a Damage Response modification. In this case, you'd probably want to use multiple buffs in angle increments. That could mean a lot of buffs and triggers though they'd be very similar.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Can you make it so that Unit "a" can inflict more damage when unit 'b' faces towards a particular angle?
@Septhie: Go
Yes but it requires triggers as the "location arc" validator does not take into account unit facing.
As far as telling you it's possible, yes. At least from behind. I've seen it in a couple maps/tutorials already. As to the how ... I probably shouldn't have posted since I don't know lol! But I thought I would at least tell you it's possible.
Two ways come to mind depending on what exactly you're going to do with this.
method 1: Have a trigger fire on Event- Unit takes damage. Make a comparison based on the unit's or units' facing directions and add any extra damage as necessary. This would probably require knowing the exact amounts of damage to add, but would require the least amount of work.
method 2: Have a trigger either periodically, on Ability- Move (turn) if that doesn't lag, or on a dummy damage effect apply a Buff to the unit with a Damage Response modification. In this case, you'd probably want to use multiple buffs in angle increments. That could mean a lot of buffs and triggers though they'd be very similar.