|
Mythl Newbie
Joined: 01 Nov 2002 Posts: 1 Location: USA
|
Posted: Fri Nov 01, 2002 5:00 am
Trigger for multiple targets but not always all |
Basically what I am wanting to do is to get a trigger that will give me the health outputs for more than 1 target in a status bar. The targets that I am fighting line up one right after another in the prompt that we have on our mud so triggering it off of the same line creates redundant triggers.
Enemies: 10 10 10 10 10 10 10
This pattern can some times have 1 target's health listed or even it could have 20 of them listed I am just looking to trigger it to where up to 4 of them will show in my status bar.
Mythl |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Nov 01, 2002 5:29 am |
Redundancy doesn't hurt anything. If you put the same value into @enemy1 four times, it will still be the same value.
#TR {^Enemies: (%d)} {#VAR enemy1 %1}
#TR {^Enemies: (%d) (%d)} {#VAR enemy1 %1;#VAR enemy2 %2}
#TR {^Enemies: (%d) (%d) (%d)} {#VAR enemy1 %1;#VAR enemy2 %2;#VAR enemy3 %3}
#TR {^Enemies: (%d) (%d) (%d) (%d)} {#VAR enemy1 %1;#VAR enemy2 %2;#VAR enemy3 %3;#VAR enemy4 %4}
LightBulb
Senior Member |
|
|
|
|
|