I'm using a toss grenade ability that i need to recharge once the round is over.
Trigger looks like this:
Events
Timer - NEXTROUND expires
Local Variables
Conditions
OKTIMER == true
Round 3 != true
Actions
Unit Group - Pick each unit in Greenunit and do (Actions)
Actions
Unit - Move (Picked unit) instantly to (Random point in Green Spawn) (No Blend)
Unit - Clear charges used for charge "Abil/TossGrenade" on ability Toss Grenade on unit (Picked unit)
Unit - Add -2.0 charges used for charge "Abil/TossGrenade" on ability Toss Grenade on unit (Picked unit)
Unit - Set (Picked unit) Life to 100.0
Unit - Order (Picked unit) to ( Stop) (Replace Existing Orders)
In theory this should work. For some reason though, it will not.
I'm using a toss grenade ability that i need to recharge once the round is over.
Trigger looks like this:
Events
Timer - NEXTROUND expires
Local Variables
Conditions
OKTIMER == true
Round 3 != true
Actions
Unit Group - Pick each unit in Greenunit and do (Actions)
Actions
Unit - Move (Picked unit) instantly to (Random point in Green Spawn) (No Blend)
Unit - Clear charges used for charge "Abil/TossGrenade" on ability Toss Grenade on unit (Picked unit)
Unit - Add -2.0 charges used for charge "Abil/TossGrenade" on ability Toss Grenade on unit (Picked unit)
Unit - Set (Picked unit) Life to 100.0
Unit - Order (Picked unit) to ( Stop) (Replace Existing Orders)
In theory this should work. For some reason though, it will not.
Are you sure the string is "Abil/TossGrenade" or is it "RaynorTossGrenade" on an action "add charges to unit" not "unit ability"
@38dedo: Go
Should i add charges to unit or unit ability? The unit isn't raynor but the ability unit link is RaynorTossGrenade and the ability link is TossGrenade
@ResolveHK: Go
Try
Action- Add -2.0 charges used for charge "RaynorTossGrenade" on unit (picked unit)
its an action called "add charges used for unit"
if it works try the same for the clear one, change it 'clear charges used for unit' and change the string to "RaynorTossGrenade"
@ResolveHK: Go
Thanks so much for your help :D it works. It was Unit charge instead of ability charge.
@ResolveHK: Go
You're welcome, but keep in mind that what you used was exclusive to only a few abilities,
and if you would want to do the same trigger for an ability such as stimpack your original method would have worked.