TheLegend
New Member
- Reaction score
- 10
I have this small problem with stopping the expiration timer of a unit, this is what i tried to use
but that killed the unit instantly like the timer expired. I need this because i sometimes want to add to the expiration timer more time but this didn't work:
replacing the unit is the very last thing i want to do right now but if its the only way it'll be ok. One more thing, if i replace a hero will his xp, items, skills remain or do i have to save that first and will the specific unit functions like Unit - Kill(unit) where the unit was selected while triggering work
JASS:
call UnitRemoveAbility(u, 039;BFig039;)
but that killed the unit instantly like the timer expired. I need this because i sometimes want to add to the expiration timer more time but this didn't work:
JASS:
call UnitApplyTimedLife(u, 039;BFig039;, t)
replacing the unit is the very last thing i want to do right now but if its the only way it'll be ok. One more thing, if i replace a hero will his xp, items, skills remain or do i have to save that first and will the specific unit functions like Unit - Kill(unit) where the unit was selected while triggering work