[DiscordArchive] alternatively, does anyone have a good example of a modern, correctly-written BossAI and/or Creature
[DiscordArchive] alternatively, does anyone have a good example of a modern, correctly-written BossAI and/or Creature
Archived author: Nyeriah • Posted: 2023-10-24T16:10:56.353000+00:00
Original source
Moroes has bossai parent class
Archived author: Nyeriah • Posted: 2023-10-24T16:11:17.086000+00:00
Original source
The other is just a scripted mob
Archived author: KJack • Posted: 2023-10-24T16:11:27.690000+00:00
Original source
sorry, i get that its BossAI vs CreatureScript - I don't understand why the bottom one is in a class with a struct inside vs the bare struct above that.
Archived author: KJack • Posted: 2023-10-24T16:11:42.561000+00:00
Original source
the class only has the one struct member
Archived author: Nyeriah • Posted: 2023-10-24T16:11:43.158000+00:00
Original source
As for the registration method, moroes uses the new one, shade hasn’t been updated by the looks
Archived author: KJack • Posted: 2023-10-24T16:12:00.478000+00:00
Original source
okay, so Moroes is the newer method.
![[Image: image.png?ex=690c23ed&is=690ad26d&hm=222...3ef864581&]](https://cdn.discordapp.com/attachments/284323424032129024/1166412914530455622/image.png?ex=690c23ed&is=690ad26d&hm=2226b8bb69de36f5dd414aca34a2d5e0bae57bcbbe95f14cd153bf53ef864581&)
Archived author: Nyeriah • Posted: 2023-10-24T16:28:29.819000+00:00
Original source
![[Image: image.png?ex=690c23ed&is=690ad26d&hm=222...3ef864581&]](https://cdn.discordapp.com/attachments/284323424032129024/1166412914530455622/image.png?ex=690c23ed&is=690ad26d&hm=2226b8bb69de36f5dd414aca34a2d5e0bae57bcbbe95f14cd153bf53ef864581&)
Archived author: Nyeriah • Posted: 2023-10-24T16:28:34.010000+00:00
Original source
this btw ties the ai to the instance map
Archived author: Nyeriah • Posted: 2023-10-24T16:28:42.310000+00:00
Original source
so the ai will not execute outside karazhan
Archived author: KJack • Posted: 2023-10-24T16:41:31.704000+00:00
Original source
interesting, good to know. i think everything i'm touching will be inside instances for now, but that makes sense.