From 696de1309b9ec394fb77d9275d65f621091285f1 Mon Sep 17 00:00:00 2001 From: emudevs Date: Mon, 22 Sep 2014 01:05:53 -0400 Subject: [PATCH] Updated GetAITarget documentation with target types --- CreatureMethods.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CreatureMethods.h b/CreatureMethods.h index 2dc8d84..26add92 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -634,6 +634,17 @@ namespace LuaCreature * Returns a target from the [Creature]'s threat list based on the * supplied arguments. * + *
+     * enum SelectAggroTarget
+     * {
+     *     SELECT_TARGET_RANDOM = 0, //Just selects a random target
+     *     SELECT_TARGET_TOPAGGRO, //Selects targes from top aggro to bottom
+     *     SELECT_TARGET_BOTTOMAGGRO, //Selects targets from bottom aggro to top
+     *     SELECT_TARGET_NEAREST,
+     *     SELECT_TARGET_FARTHEST
+     * };
+     * 
+ * * For example, if you wanted to select the third-farthest [Player] * within 50 yards that has the [Aura] "Corrupted Blood" (ID 24328), * you could use this function like so: