HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Expiration timers?

06-18-2005, 08:18 PM#1
Taur
I've been having problems with expiration timers and I need to know how to:

- the best way to create them
- change thier title from timed life to something else
- how to pause them
- how to increase or decrease the time left.
06-18-2005, 11:11 PM#2
EdwardSwolenToe
  1. using the Unit - Add expiration timer.
  2. There is a field you can use to change it, although this only has a few options. You can either edit the apropriate abilities for this, or convert to custom text and change the value to whatever buff you want.
  3. Unit - Pause expiration timer.
  4. I dont think that is possible.
06-19-2005, 12:09 AM#3
Tim.
For the forth one, The only way I can think of is to make multiple unit types. Tedious work.
06-19-2005, 12:16 AM#4
Taur
very tedious work, so there is practically no way to increase it, without I suppose destoryign the timer and starting again.

so for the second one ,can I change the title multiple times?
06-19-2005, 12:50 AM#5
EdwardSwolenToe
I dont think you can change it, i think it can only be done the first time you use the trigger.
06-19-2005, 12:52 AM#6
Taur
you can't... darn... oh well , so I have to create a new expiration timer each time? can I set how much % of the time is left?
06-19-2005, 09:19 AM#7
EdwardSwolenToe
you tell me...
06-19-2005, 09:25 AM#8
Tim.
What do you mean set the percentage of time left? Do you mean change the time remaing to a percenatage value?
06-19-2005, 09:31 AM#9
Anitarf
You could just use triggers to count down unit timers seperatly using unit custom values or game cache to store their current time. Then use this value when you re-apply the timer (if that's possible).
06-19-2005, 09:38 AM#10
Guest
Remember that there is NO way to destroy a life timer (u can't remove it from a unit/hero). The only thing u can do to remove this, is to remove the correspondent buff from the unit that has the timer (f.e. animate dead), BUT the unit will die... U can also pause the timer, but the title will still remain.
Just another thing, remember, that if a unit has a life timer, it will get also the "Summoned" classification, so, if u apply this to a hero, remember to remove this classification... In my map I used a lot life timers, so I am quite familiar with these.
06-19-2005, 12:23 PM#11
Taur
Quote:
Originally Posted by Anitarf
You could just use triggers to count down unit timers seperatly using unit custom values or game cache to store their current time. Then use this value when you re-apply the timer (if that's possible).
no but I want to e.g. let's say its 30 seconds timer, I want to set it to 15, but the bar should read 50% of the timer...
06-19-2005, 01:24 PM#12
Tim.
Oh I see. you want to set the time reamaining, but not the total time given at summon. Hmm, now that I do not believe is possible.
06-19-2005, 02:48 PM#13
Vexorian
*Add an umbalance reincarnation that revives de unit instantly and has no cooldown.
*Save life on variable.
*Remove Buff
*Set Life to variable