Post
by Ohmz » Wed Mar 12, 2003 1:47 am
<target npc>
/echo $target(name)
<write the name down>
<repeat this until you have the spawn name of each npc>
add this to your code:
/varset a(1,1) a_spawn_name00
/varset a(1,2) a_spawn_name01
/varset a(1,3) a_spawn_name02
...
/varset v99 3 | need a number to represent the number of creatures in your array
then:
/for v1 1 to $v99
/target id $id($a(1,$v1))
/next v1
is a sample of how to access/target each creature in that array. I may have left out somthing simple here as I just typed this code w/o testing it at all, but thats the general idea behind the best way to do it.