Guest User

Untitled

a guest
Dec 2nd, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. class example_creature : public CreatureScript
  2. {
  3. public:
  4.  
  5. example_creature()
  6. : CreatureScript("example_creature")
  7. {
  8. }
  9.  
  10. struct example_creatureAI : public ScriptedAI
  11. {
  12. example_creatureAI(Creature* creature) : ScriptedAI(creature) {}
  13.  
  14. void MoveInLineOfSight(Unit* who)
  15. {
  16. if(who->
  17. }
  18.  
  19. };
  20.  
  21. CreatureAI* GetAI(Creature* creature) const
  22. {
  23. return new example_creatureAI(creature);
  24. }
  25. };
Advertisement
Add Comment
Please, Sign In to add comment