[CF 1289] Possible to create a onetime timer when a combat begins?
tmw-issue-import opened this issue · 5 comments
Hi first of all,
i wanted to ask if it´s possible to create an icon which starts a predefined timer every time a fight begins/i´m in a combat and it only restarts after i´m out of combat.
I tried to use the combat event icon type,where you can set a timer, but there is not an existing event like "combat start". I used the "unit in combat" as condition but either its refreshing instantly or after my timer is done,depends if i enable the "dont refresh" setting.
Besides i dont event know what to use in the "what to track"-field.
Is there a possibility to implement this kind function?
Regards
Mindfork
Posted by CurseForge user Mindfork | Imported from CurseForge issue #1289 | Raw
That only takes a second to make so I made it for you. I used the notifications tab to start and stop the timer. I used the icon page to display the timer as a dogtag. I used the condition section to only show when in combat. Please test and let me know if this is what you were looking for.
^1^T^SGUID^STMW:group:1Nozgz4=2pMH ^SPoint^T ^Sy^F-6338401066287104 ^f-47^Sx ^F-5137429426077696^f-47 ^t^SColumns^N1 ^SIcons^T ^N1^T ^SType^Sconditionicon ^SEvents^T ^N1^T ^SType^STimer ^SCounter^Stimer1 ^SEvent^SOnShow ^t^N2^T ^STimerOperation^Sstop ^SType^STimer ^SCounter^Stimer1 ^SEvent^SOnHide ^t^Sn^N2 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S[Timer("timer1")] ^t^t^t^SCustomTex^Ssolar`wrath ^SConditionDur^N5 ^SEnabled^B ^SConditions^T ^N1^T ^SType^SCOMBAT ^t^Sn^N1 ^t^t^t^SName^SCombat`Timer ^t^N81209^S`| ^Sgroup^N16 ^^
Edited Sep 4, 2016
Posted by CurseForge user LordEos
Hi and thx for your time.Your icon is counting the time you are in combat, but thats not exactly what im looking for.Perhaps i have described it wrong sry my english is not the best so lets do it step by step. What im looking for is an icon with an individually adjustable timer like 0.5, 8,15,20,65... seconds. Lets take e.g. 8seconds. The icon should be shown if i come into combat by any source,a player is hitting me or a sb hits a boss in a raid... . If i´m in combat the timer should count backwards from 8 to 0. If it reaches 0 it should stop counting and not be refreshed while im still in combat. The timer/icon should reset if i went out of combat like death or bossfight ends and restart if i come back into combat. It seems like to be working with the "timer DogTag" but i have no idea how to use this. Regards Mindfork
Posted by CurseForge user Mindfork
Delete the group I sent you. Then import this one. I had the same issue as you so I made a quick workaround. I believe TMW displays these timers through the omniCC addon for me. Not sure though.
^1^T^SGUID^STMW:group:1Nozgz4=2pMH ^SPoint^T ^Sy^F-6338401066287111 ^f-47^Sx ^F-5137429426077700^f-47 ^t^SColumns^N2 ^SIcons^T ^N1^T ^SType^Sconditionicon ^SEnabled^B ^SConditions^T ^N1^T ^SType^SCOMBAT ^t^Sn^N1 ^t^SConditionDur^N5 ^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S ^t^t^t^SGUID^STMW:icon:1No_LHb8=OkK ^SCustomTex^S123456 ^SFakeHidden^B ^t^N2^T ^SShowTimer^B ^SType^Sconditionicon ^SShowTimerText^B ^SConditionDurEnabled^B ^SCustomTex^Ssolar`wrath ^SOnlyIfCounting^B ^SConditionDur^N8 ^SEnabled^B ^SConditions^T ^N1^T ^SType^SICON ^SIcon^STMW:icon:1No_LHb8=OkK ^t^Sn^N1 ^t^t^t^SName^SCombat`Timer2 ^t^N81209^S`| ^Sgroup^N16 ^^
Edited Sep 4, 2016
Posted by CurseForge user LordEos