[DiscordArchive] This is my first time working with scripted AI, and I'd appreciate some help if someone has time to
[DiscordArchive] This is my first time working with scripted AI, and I'd appreciate some help if someone has time to
Archived author: KJack • Posted: 2023-10-23T07:47:26.747000+00:00
Original source
this is the one that seemed most "modern" to me, but that's an educated guess.
Archived author: KJack • Posted: 2023-10-23T07:47:30.201000+00:00
Original source
semi-educated, at best
Archived author: KJack • Posted: 2023-10-23T07:48:23.049000+00:00
Original source
i'm working on determining if there are two bats being created, or just two calls to the AI constructor. i'm guessing the second thing, but i don't know.
Archived author: Anchy • Posted: 2023-10-23T07:49:00.091000+00:00
Original source
yeah I don't really have experience with AI in the core, but my module scripts work great
Archived author: KJack • Posted: 2023-10-23T07:49:19.254000+00:00
Original source
i don't have experience either, but i'm working on changing that hopefully
Archived author: KJack • Posted: 2023-10-23T07:49:27.206000+00:00
Original source
nice to be able to fix my own bosses
Archived author: Honey • Posted: 2023-10-23T07:50:20.281000+00:00
Original source
If you're looking for the "modern" way of scripting, look at karazhan or any raid recently released on Chromie.
Archived author: KJack • Posted: 2023-10-23T07:50:37.010000+00:00
Original source
excellent, that is actually super helpful - will do.
Archived author: KJack • Posted: 2023-10-23T08:07:54.326000+00:00
Original source
well, i don't know why it works now, but i emulate this format it works fine:
<https://github.com/kjack9/azerothcore-wotlk/blob/5b8352f69c5a1795d006fc1f64a166137649d416/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp#L394>
Archived author: KJack • Posted: 2023-10-23T08:11:58.339000+00:00
Original source
NICE! switching to that new format also let my `SetAI` function work - I can leave the DB entries for SAI and override the AI on just the summoned creatures.