im working on a big map and iv come across to a very big problem
i am building a turn base game that works in this order
1) attacker chooses units to attack with (units are locking into position)
2) defender chooses units to block and what unit they will be blocking(units are locking into position)
3) if an attacking unit is blocked by more than 1 unit, the attacking player chooses how much damage goes to each of the blocking units
4) damage is dealt
(note: currently im making units unable to move by changing their ownership to a neutral player without changing their color.)
my problem is with step 3
i could do this with chat commands but i think it would be more user friendly if there was some in game way of doing this
example:
attackers = X1, X2
defenders = Y1, Y2, Y3
X1 is blocked by Y1
X2 is blocked by Y2 and Y3
attacking player now chooses how much damage goes to Y2, and Y3 (requirment: damage dealt to Y2 + damage dealt to Y3 = X2 total damage)
if anyone can help me out with this would be greatly appreciated
i am building a turn base game that works in this order
1) attacker chooses units to attack with (units are locking into position)
2) defender chooses units to block and what unit they will be blocking(units are locking into position)
3) if an attacking unit is blocked by more than 1 unit, the attacking player chooses how much damage goes to each of the blocking units
4) damage is dealt
(note: currently im making units unable to move by changing their ownership to a neutral player without changing their color.)
my problem is with step 3
i could do this with chat commands but i think it would be more user friendly if there was some in game way of doing this
example:
attackers = X1, X2
defenders = Y1, Y2, Y3
X1 is blocked by Y1
X2 is blocked by Y2 and Y3
attacking player now chooses how much damage goes to Y2, and Y3 (requirment: damage dealt to Y2 + damage dealt to Y3 = X2 total damage)
if anyone can help me out with this would be greatly appreciated