if youre using modified UI i dont see any problems at all. use dialogs or hookup & modify charge count label of the command button since there are no reliable ways of doing this with data.
i'm lazy lately and don't want to make a sample map, but i think you can try to use COST LINK. You need another dummy ability or behaviour or weapon that will use this charges as it's cost, but is muted, then you will have to link that cost to your actual ability, but you shouldn't define cost in it (usualy if you want a proper link you must set cost and cooldown etc in both linked abilities but for this stuff leave it blank, just modify a cost link string value), so charges won't be needed to cast abil.
I'm not sure if this will work though..
EDIT: ok i quickchecked this and it seems link doesn't work without the actual cost values defined so nvm...
if youre using modified UI i dont see any problems at all. use dialogs or hookup & modify charge count label of the command button since there are no reliable ways of doing this with data.
i'm lazy lately and don't want to make a sample map, but i think you can try to use COST LINK. You need another dummy ability or behaviour or weapon that will use this charges as it's cost, but is muted, then you will have to link that cost to your actual ability, but you shouldn't define cost in it (usualy if you want a proper link you must set cost and cooldown etc in both linked abilities but for this stuff leave it blank, just modify a cost link string value), so charges won't be needed to cast abil.
I'm not sure if this will work though..
EDIT: ok i quickchecked this and it seems link doesn't work without the actual cost values defined so nvm...