aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAIRegistry.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-10-27 21:01:47 +0200
committerRat <none@none>2010-10-27 21:01:47 +0200
commit5cb119e617195bfe4ddb35ce377201e0d01807fb (patch)
treeaa8a528ec76b9b28081714dbdb769ccbdfa22556 /src/server/game/AI/CreatureAIRegistry.cpp
parentc9fba03da9b095ee1b76329af4db90ce18b31598 (diff)
Core/AI: implemented SmartScripts System (still beta) not 100% complete
WARNING: Use scripts at own risk. You were warned. NOTE0: creature, gameobject, areatrigger type scripts should be fully functional NOTE1: has no effect on any core related stuff if not using any SmartScript NOTE2: all event/action/etc descriptions can be found in SmartScriptMgr.h SmartScripts is a reloadable DB-Sript system, with full control for special scripting, like escorting, following, complex combat handling, pre-stored AI templates(caster, turret, etc) and much more with a total of 66 events, 78 actions, 22 target types, and can be easily extended --HG-- branch : trunk
Diffstat (limited to 'src/server/game/AI/CreatureAIRegistry.cpp')
-rwxr-xr-xsrc/server/game/AI/CreatureAIRegistry.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/AI/CreatureAIRegistry.cpp b/src/server/game/AI/CreatureAIRegistry.cpp
index d343bdce0eb..0c443a0ed4c 100755
--- a/src/server/game/AI/CreatureAIRegistry.cpp
+++ b/src/server/game/AI/CreatureAIRegistry.cpp
@@ -53,6 +53,7 @@ namespace AIRegistry
(new CreatureAIFactory<SmartAI>("SmartAI"))->RegisterSelf();
(new GameObjectAIFactory<GameObjectAI>("GameObjectAI"))->RegisterSelf();
+ (new GameObjectAIFactory<SmartGameObjectAI>("SmartGameObjectAI"))->RegisterSelf();
(new MovementGeneratorFactory<RandomMovementGenerator<Creature> >(RANDOM_MOTION_TYPE))->RegisterSelf();
(new MovementGeneratorFactory<WaypointMovementGenerator<Creature> >(WAYPOINT_MOTION_TYPE))->RegisterSelf();