Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class example_creature : public CreatureScript
- {
- public:
- example_creature()
- : CreatureScript("example_creature")
- {
- }
- struct example_creatureAI : public ScriptedAI
- {
- example_creatureAI(Creature* creature) : ScriptedAI(creature) {}
- void MoveInLineOfSight(Unit* who)
- {
- if(who->
- }
- };
- CreatureAI* GetAI(Creature* creature) const
- {
- return new example_creatureAI(creature);
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment