- Joined
- Oct 6, 2022
- Messages
- 185
Hello, i would like to know how to make this.
when casting spell, the owner of the T_unit(TriggeringUnit) will not be able to select it until the trigger orders it to be selected again.
for example: the T_unit cast rain of fire, the player won't be able to select it until the rain of fire ends its duration. And when the rain of fire ends or the T_Unit got interrupted, the trigger will select the T_unit again.
BUT, here's the condition. The T_unit will be selected if the player didn't select any other unit.
And if this T_unit was part of the group of the selected unit(like 5 footman and the T_unit for example), it'll be added to the selection again. unless the player group selection reach its maximum capacity like 12 units and when the T_Unit cast and was remove from the selection which it would be only 11 units in group selection and if the player selects another unit to fill up the group selection to make it 12 again, the T_Unit won't be selected.
anyone could able to do this? I hope you guys could help me with this.
when casting spell, the owner of the T_unit(TriggeringUnit) will not be able to select it until the trigger orders it to be selected again.
for example: the T_unit cast rain of fire, the player won't be able to select it until the rain of fire ends its duration. And when the rain of fire ends or the T_Unit got interrupted, the trigger will select the T_unit again.
BUT, here's the condition. The T_unit will be selected if the player didn't select any other unit.
And if this T_unit was part of the group of the selected unit(like 5 footman and the T_unit for example), it'll be added to the selection again. unless the player group selection reach its maximum capacity like 12 units and when the T_Unit cast and was remove from the selection which it would be only 11 units in group selection and if the player selects another unit to fill up the group selection to make it 12 again, the T_Unit won't be selected.
anyone could able to do this? I hope you guys could help me with this.
Last edited: