* Example on AI script conversion (and minor correction in CreatureScript).
--HG-- branch : trunk
This commit is contained in:
1 parent
23c434cfd8
commit
731eaf72cb
3 files changed
+127
-121
No files matched your search
@@ -487,7 +487,7 @@ class CreatureScript : public ScriptObject, public UpdatableScript<Creature>
|
||||
virtual uint32 OnDialogStatus(Player* player, Creature* creature) { return 0; }
|
||||
|
||||
// Called when a CreatureAI object is needed for the creature.
|
||||
virtual CreatureAI* OnGetAI() { return NULL; }
|
||||
virtual CreatureAI* OnGetAI(Creature* creature) const { return NULL; }
|
||||
};
|
||||
|
||||
class GameObjectScript : public ScriptObject, public UpdatableScript<GameObject>
|
||||
|
||||
Reference in new issue
Block a user