 |
Delrayne Beginner
Joined: 01 Feb 2008 Posts: 16
|
Posted: Tue Jun 10, 2008 5:16 am
Target Lists, not sure if possible at all. |
Alright, so what I want to do is have a list of possible targets. When I hit my hunting alias I want it to check if if the target is in there and if it is attack with that target specified. I'll likely have about 20 targets in the list so the spam from 19 wrong targets and 1 right target is not acceptable. If there isn't anyway to do this just let me know and I'll drop the idea. I'm not beyond making enough triggers to account for matching of targets possible, but if I can bypass that I'd love to. If you need it explained in a different way just say so and I'll try do explain it differently. Thanks ahead for any help or assistance.
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jun 10, 2008 10:23 am |
It's possible, but it depends what you want to do, and what you mean by "in there". At the simplest level, it'll be comparing each target with your target list, which is most easily done with something like:
#loop @list1 {#if (!@match) {#if %ismember(%i,@ListofTargets) {match=%i}}
do stuff with @match here
@match=""
Then it's just a simple matter of putting the right stuff in your @list1 variable - writing triggers to capture the enemies in the room, or whatever. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|