|
phranq Beginner
Joined: 11 Jul 2006 Posts: 13
|
Posted: Tue Jul 11, 2006 1:29 pm
Need help, #COND...I thought I was using it right |
So yah, erm, according to the help library on #COND I assumed this would work, any idea where it goes wrong?
#TRIGGER {%w lets fly at you with a snap kick.} {#SUB {Snap Kick}}
#COND {({He|She}) connects to the ({left leg|right leg|left arm|right arm|head|torso})!} {#SUB {<<<< Opponent Hit %2 >>>>}} {Within|Param=3}
Edit: To elaborate...it looks like this in the game
Bob lets fly at you with a snap kick.
He connects to the left arm!
If Bob is attacking say someone else, it looks like
Bob lets fly at Bill with a snap kick.
He connects to the left arm!
So, pretty much I'm just trying to use this as a check to only #SUB the hit when the attack is against me. I'm sure there's a way to trigger it to my health going down too (for verification, but I don't know how to do that. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Jul 11, 2006 7:11 pm |
It works for me... Can you tell me what wrong with it? Bear in mind that the Within Param is 3 so
Code: |
Bob lets fly at you with a snap kick.
Bob ducks
Bob dances
He connects to the left arm!
|
will match, but
Code: |
Bob lets fly at you with a snap kick.
Bob ducks
Bob dances
Bob punches swings and misses
He connects to the left arm! |
won't. |
|
_________________ Asati di tempari! |
|
|
|
phranq Beginner
Joined: 11 Jul 2006 Posts: 13
|
Posted: Tue Jul 11, 2006 11:50 pm |
hmm, I think I just pasted it into the command funny...all is well ... hrm, thanks.
|
|
|
|
|
|