#Sound during cast; stops with interrupt/failed/success

17 messages · Page 1 of 1 (latest)

full summit
#

Hello,

I currently have a weakaura for nokhud offensive that plays a custom sound file when rally the clan is cast.

The weakaura plays the sound when the cast starts appropriately, but currently, I have no way of telling the weakaura to stop playing the sound if the cast is stopped. The trigger is set to hide automatically after the cast finishes (6 seconds after start), but if it is stopped beforehand, it continues looping the sound. I want it to loop while the mob is still casting, but if someone cc's or interrupts, i want it to stop playing.

!WA:2!DnvWUnsrq0neKI0CcSqriehSqO9grbBC2LJzm2lb861AgViqksE6E6AMPzB3DRU7Xjo3IpG4C(egjUXj)jKVGrwi(aYb(a8xavp2wlcFXv3vxv9Q37nhnS18wSwSF)lR4PkzSQ0KcF(ZmlFtwMfChTMitluMjkU0r7py80brBsvkbtDJm(gUgsE8WXbSCOi03LKvodpphm2Xp3Sp8FcDl1WdPQ5uItOYnwniexXODFz3x2P7t2skSaKU4YSm(TRN1)Y4PZINEz00vSsdXXvYwxe18KQ(nnP9ivEyPK7OAbzjy2wAHz2MfySo9kwX6Ml2nMKv7dSbp9(39wS6IijzoGxFabtmaIGO4jdgnA9)PFFqfdOi6MI7H57hmAYW3o6Hs5(9lynJB)1szQJVa6qKl1FmPjE6U8VwXG)8zBrAemsI4NqYbxP73(oa0xIyl1f5xYIhSGiRHUR)qCGwIZV9qrfcViihRX(zNwhSbpsjPVl3OkLmAbWZlC3hkue2FVXVGAWHCKta7OH7usax(KnCP1HAkmZlhbn5waf8u8HrPcI1EA08sHJhuX4OsKIXlFo1YL5cu9kicbiZH6ZhIZ0O4Pj1DtOsLzorKqNV0HTkr)r(2YmKCL0WzyTfM9aiSZ5FBxQJGDXDA95bgmjUcAFCJW8(Pwe6PfFIql)oWhuzAyaVcuFY6mdkCXoKEihBUDVHD1b7yIxq8oJRqhj9R7(nD68InKsh6MFJ2BNSbgVcHbxeHCIXn8rRNmNzanqChByQzcLsNe1CTU3vETlJKcxFjJHLDT71aJtUo2N2E9uWasjP9x1UF)2rirT8mvE(kSln1NeYr3wand)ZwCAL1P07ZO)KdGEkCR774wcvaSekc8mEEqLtLUyNF5tp63(JVGZEQP9TDfq7(cImkvjuMF4y8hMqxqoE7UpBh6zipBrJ7hnyW4OB4mxX9Dk5S196DXKEJ(XF5vAbkc((dj6wOe0FpwqhBK35fENsn)Okemm(oEBnxM5vC)PGhis(UWlQF1W6GqjQ0pceRxAqVIR4Knh(cUX0HdY3l7k)BAKss4CcxI1wtQPNuNwZQXlRh))VPLnQ3zDp7fTw8x)8)c

#

Further, this weakaura is set to an "icon" type; is there a way outside of setting the icon alpha to 0, to literally just play sounds and don't even worry about creating bars/icons?

pseudo lion
#

convert to text

#

login in to see that sound loop thing..

#

easy fix is to use a cast trigger with unit=nameplate

#

but if you want it to work when cast is done offscreen
add an other combatlog trigger with spell cast failed or i don't know which one trigger you stop it, duration same as trigger1
set required for activation custom with function(t) return t[1] and not t[2] end

#

this is not good if mob spam ability

#

alternative is a custom trigger

full summit
#

well i do want it to loop

#

while it is casting

#

is there an alternative way to loop it?

pseudo lion
#

i don't get it, if you want it to loop make it loop that doesn't matter

full summit
pseudo lion
#

if having nameplate visible on screen while npc is casting is not problematic then a cast trigger is the way to go

#

it will handle the interrupts/fails

#

combatlog events have advantage to work with offscreen events, npc offscreen that are not target/boss don't have a unitid, so no UNIT_SPELLCAST_x event but combatlog works then
but cast trigger doesn't have magic option to handle non-units

#

(aura trigger have one)