Remove Expiration Timer

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
As you know this function;
  • Unit - Add a 60.00 second Generic expiration timer to (Triggering unit)
Once you have add this to a unit, there will be timer window at the name of that unit, right ?

I need to know how to remove this function when it is applied on a unit, or does this function is irreversible ?

Once you have add, you can't remove it and wait until the unit dies ?
 
Try this :
  • Set UnitVariable = (triggering unit)
  • Custom script: call UnitRemoveAbility( udg_UnitVariable, 'BTLF' )
I'm using jass because I don't think the "Generic" buff is available in GUI (that's quiet a strange buff). But basically, it's same as removing the expiration buff.

There is also a "Pause expiration timer" action, but maybe that doesn't work the way you want.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Try this :
  • Set UnitVariable = (triggering unit)
  • Custom script: call UnitRemoveAbility( udg_UnitVariable, 'BTLF' )
I'm using jass because I don't think the "Generic" buff is available in GUI (that's quiet a strange buff). But basically, it's same as removing the expiration buff.

There is also a "Pause expiration timer" action, but maybe that doesn't work the way you want.

Removing this "ability" will instantly kills the unit if the unit has already been affected by that function.
 
Status
Not open for further replies.
Top