Soll2006-10-30 23:10:31
Hokay, another quick question. Is it possible to have a conditional that will end the trigger if it's matched, but let it continue if not. Ie
%w swings at you
-> rebounding : END TRIGGER HERE
-> affliction : #var afflict blah
(If you can understand what I want to do.) If it's not, could someone suggest a suitable way to manage this?
%w swings at you
-> rebounding : END TRIGGER HERE
-> affliction : #var afflict blah
(If you can understand what I want to do.) If it's not, could someone suggest a suitable way to manage this?
Unknown2006-10-30 23:11:54
Look up #STATE and #SET. You use those to manipulate states in a multi-state trigger (e.g., reset it and avoid future states firing).
Soll2006-10-30 23:12:08
*mutter* I just remember state as I posted, but thanks!
Soll2006-10-30 23:34:01
Okay! I found it. Silly me.
Unknown2006-10-30 23:43:08
Fine! I can edit my posts, too.
Shryke2006-11-02 06:28:56
aww i wanted to answer this one, too bad I don't troll like zarquan *note I'm trolling atm*
Soll2006-11-02 07:31:16
Is there any way to do it more efficiently than this (because it's doubling the load I want)? Basically, it needs to be able to pick up all afflictions on the same line as the swing as well as on the lines after it, and this is the only way I've found to do it so far.
#trigger {^(%w) swings*you} {}
#cond {rebounds} {#STATE 0} {reparse}
#cond {affliction1} {setaff} {reparse}
#cond {affliction2} {setaff} {reparse}
etc
#cond {} {} {within|param=2}
#cond {rebounds} {#STATE 0}
#cond {affliction1} {setaff} {reparse}
#cond {affliction2} {setaff} {reparse}
#trigger {^(%w) swings*you} {}
#cond {rebounds} {#STATE 0} {reparse}
#cond {affliction1} {setaff
#cond {affliction2} {setaff
etc
#cond {} {} {within|param=2}
#cond {rebounds} {#STATE 0}
#cond {affliction1} {setaff
#cond {affliction2} {setaff
Unknown2006-11-02 12:29:18
Put the afflictions in class folders. When you get hit with a weapon, enable the class folder for the body part that was hit. I track deep wound afflictions using just single word triggers, so it works no matter where the lines wrap. If you use regex, you can get it to fire properly even if the next trigger word appears on the same line as the current trigger word. I seem to recall posting a small sample of it on one of your other threads, though I didn't include the affliction class folders.
Soll2006-11-02 16:27:34
I used to have a Knight-Aff folder, but it wouldn't fire on the same line as the swing.
Ildaudid2006-11-02 19:11:14
Where are you now Shryke the Troll... you could have answered this one for ol Soll
Yes I can make sing song sentences (since I cant spell rhyme)
Yes I can make sing song sentences (since I cant spell rhyme)
Shryke2006-11-02 23:36:13
Okay, one way to do 1 line triggers on the same line is this- put your activator in before you put in the class, or when you add the knight triggers in, cut it, and repaste it (some zmud quirkiness) Zmud fires things in the order they were put in.. Example:
first you put in #trigger {crushing your ribs visciously} {add afflictions fracturedchest} Knight
Then you put in #trigger {Focusing on your (*)} {#t+ knight}
If you do it in that order, it will not track...
But if you were to cut the knight, wait a moment, and repaste it, it will work! found this out after a lotta grief!
Also, with multistates, I need to know your wrapwidth. Generally the best bet is to go 250, and then just enable/disable a venom class.
first you put in #trigger {crushing your ribs visciously} {add afflictions fracturedchest} Knight
Then you put in #trigger {Focusing on your (*)} {#t+ knight}
If you do it in that order, it will not track...
But if you were to cut the knight, wait a moment, and repaste it, it will work! found this out after a lotta grief!
Also, with multistates, I need to know your wrapwidth. Generally the best bet is to go 250, and then just enable/disable a venom class.
Soll2006-11-04 11:36:56
My wrapwidth is 125, so it fits my screen. I think I've worked out a way to do it now, thanks to you both, but it's going to take a pretty unknown amount of fiddling.