I search long time for a solution for this. Disable a ability when the bunker that use it is full.
Need this for my zone control where u can build Ghosts into the bunker. I limited the ability to 6 charges per bunker cause it has 6 slots. But when u put marines in it u can buy Ghosts and they are wasted cause they are gone then.
In a condition, use "Transport Property of Unit" with the value type of "Space Available" and check if it's equal to 0. If it's 0, disable the ability.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I search long time for a solution for this. Disable a ability when the bunker that use it is full. Need this for my zone control where u can build Ghosts into the bunker. I limited the ability to 6 charges per bunker cause it has 6 slots. But when u put marines in it u can buy Ghosts and they are wasted cause they are gone then.
Events:
Unit - Unit loads cargo
Condition:
Unit - Cargo characteristic of unit
Actions:
Unit - Disable Ability for Unit
Did you mean this? It also avaible as activate/deactivate abilities.
Don't know if all of this is correct for english localisation.
In a condition, use "Transport Property of Unit" with the value type of "Space Available" and check if it's equal to 0. If it's 0, disable the ability.