How is your thing different from the normal protoss carrier though? That carrier is implemented entirely through data, no triggers, and so far yours sounds the same.
I think what you're looking for is charges.I have items with charges, and they display the count. The items link to an ability, and that ability is what holds the charges.
Since you're trying to make something like the interceptor's button on the carrier, start by looking into the carrier. Check the command card and see what that button links to: presumably it links to an ability. Look at that ability, and the cost section within it, and I'll bet that it has charges. You can make your own button link to an ability that also has charges, and that should get what you want.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@codewild: Go
How is your thing different from the normal protoss carrier though? That carrier is implemented entirely through data, no triggers, and so far yours sounds the same.
I think what you're looking for is charges.I have items with charges, and they display the count. The items link to an ability, and that ability is what holds the charges.
Since you're trying to make something like the interceptor's button on the carrier, start by looking into the carrier. Check the command card and see what that button links to: presumably it links to an ability. Look at that ability, and the cost section within it, and I'll bet that it has charges. You can make your own button link to an ability that also has charges, and that should get what you want.