Loop through zones in lua.
Posted: Sun Dec 15, 2013 11:57 pm
Probably very easy, but I'm not quite sure how to do this.
Trying to create a command to give every mob in the game a buff, such as Protect, Hundred Fists, or Regain. Alongside this, looking to create a command that takes away this buff as well.
I know the loop for lua is:
<for x, y, z do> where x = starting int, y = stop value, z = increment...but how do I make it loop through every zone?
Thanks in advance for any assistance!
-kat
Trying to create a command to give every mob in the game a buff, such as Protect, Hundred Fists, or Regain. Alongside this, looking to create a command that takes away this buff as well.
I know the loop for lua is:
<for x, y, z do> where x = starting int, y = stop value, z = increment...but how do I make it loop through every zone?
Thanks in advance for any assistance!
-kat