I have just one more question. The button in the unit's command card display perfectly the number of unit's ammo, and each attack takes 1 ammo, and the reload time is working perfectly. But the button is clickable. There is a way that I made the button just for display porposes, dont letting the user to click on it?
Abvdzh, thanks so much. That is exactly what I was looking for. I see what I did wrong. I created the ability Reload, and linked the Weapon th "Abil/Reload" charges. But I see in your file that I sould create a new link, different from abilitie's natural.
I cant use Triggers because I'm creating a mod, with adds a custom race for melee games. So it's not a playable map, but a race that can be added to any melee map.
I did search a lot but didnt found a good answer. The problem is simple:
I just want to display the ammo of my unit's weapon in the command card. Its not allowed any trigger.
This unit is used on melee game. Basicaly, it has 3 weapons charges and fires fast while it has ammo. When out of ammo, the fire rate slows down, so it must flee for a while, recharges the 3 ammo, and come back to the fight.
Please, no work arrounds nor triggers, I ust do this using only data and charges.
I tried using link from Weapon and Ability, but it didnot work. Did I something wrong?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Got It! Working perfectly now!
I have just one more question. The button in the unit's command card display perfectly the number of unit's ammo, and each attack takes 1 ammo, and the reload time is working perfectly. But the button is clickable. There is a way that I made the button just for display porposes, dont letting the user to click on it?
@abvdzh: Go
Abvdzh, thanks so much. That is exactly what I was looking for. I see what I did wrong. I created the ability Reload, and linked the Weapon th "Abil/Reload" charges. But I see in your file that I sould create a new link, different from abilitie's natural.
I cant use Triggers because I'm creating a mod, with adds a custom race for melee games. So it's not a playable map, but a race that can be added to any melee map.
I did search a lot but didnt found a good answer. The problem is simple:
I just want to display the ammo of my unit's weapon in the command card. Its not allowed any trigger.
This unit is used on melee game. Basicaly, it has 3 weapons charges and fires fast while it has ammo. When out of ammo, the fire rate slows down, so it must flee for a while, recharges the 3 ammo, and come back to the fight.
Please, no work arrounds nor triggers, I ust do this using only data and charges.
I tried using link from Weapon and Ability, but it didnot work. Did I something wrong?