[DiscordArchive] But they do trigger spells with scripting too no?
[DiscordArchive] But they do trigger spells with scripting too no?
Archived author: Claudiodfc • Posted: 2021-03-12T18:15:32.420000+00:00
Original source
But they do trigger spells with scripting too no?
Archived author: Titi • Posted: 2021-03-12T18:16:18.215000+00:00
Original source
when it's part of scripts I guess they do, but creature spells are not done in the creature AI scripts, they have a specific table/tool for creatures spells only
Archived author: Titi • Posted: 2021-03-12T18:16:39.431000+00:00
Original source
smartAI is both creature scripts+spells with the same system
![[Image: unknown.png?ex=690c3d9e&is=690aec1e&hm=f...a5905ade3&]](https://cdn.discordapp.com/attachments/284323424032129024/819997701831131136/unknown.png?ex=690c3d9e&is=690aec1e&hm=f91924f2c14b8dfd531a222340d3ae135e45f2e663ad18ff64ccdbba5905ade3&)
Archived author: Titi • Posted: 2021-03-12T18:18:07.634000+00:00
Original source
they use a spell list tool to give spells to creature
![[Image: unknown.png?ex=690c3d9e&is=690aec1e&hm=f...a5905ade3&]](https://cdn.discordapp.com/attachments/284323424032129024/819997701831131136/unknown.png?ex=690c3d9e&is=690aec1e&hm=f91924f2c14b8dfd531a222340d3ae135e45f2e663ad18ff64ccdbba5905ade3&)
![[Image: unknown.png?ex=690c3dce&is=690aec4e&hm=b...02da1ce9d&]](https://cdn.discordapp.com/attachments/284323424032129024/819997900045942836/unknown.png?ex=690c3dce&is=690aec4e&hm=ba45c3cb4699f41b2f97d6d12dcfc57c8cdf9a020116d066a89139b02da1ce9d&)
Archived author: Titi • Posted: 2021-03-12T18:18:54.932000+00:00
Original source
and the creatures scripts use a tool called "action list", it works slightly differently than smartAI because they are done in order and only trigger once the previous action is done. Note that waypoints and actions are also part of the same tool in their system. In their system waypoints are part of a creature's action list
![[Image: unknown.png?ex=690c3dce&is=690aec4e&hm=b...02da1ce9d&]](https://cdn.discordapp.com/attachments/284323424032129024/819997900045942836/unknown.png?ex=690c3dce&is=690aec4e&hm=ba45c3cb4699f41b2f97d6d12dcfc57c8cdf9a020116d066a89139b02da1ce9d&)
Archived author: Hacki • Posted: 2021-03-12T18:32:23.757000+00:00
Original source
I love these glimpses of how blizz does their stuff
Archived author: Titi • Posted: 2021-03-12T18:34:38.738000+00:00
Original source
btw except for the waypoints and actions which works the same way all mangos based emus do, this is the systems vmangos uses for spells rather than smartAI, they have even recreated the creature spells tool 1:1
![[Image: unknown.png?ex=690c41cd&is=690af04d&hm=7...ac9c0ce0a&]](https://cdn.discordapp.com/attachments/284323424032129024/820002192299655168/unknown.png?ex=690c41cd&is=690af04d&hm=7bd24a208459a095fe0f5e519b6b8156a0fb8f377a94b0931485137ac9c0ce0a&)
Archived author: Titi • Posted: 2021-03-12T18:35:58.455000+00:00
Original source
this is the vmangos dev tools it copied blizzard's
![[Image: unknown.png?ex=690c41cd&is=690af04d&hm=7...ac9c0ce0a&]](https://cdn.discordapp.com/attachments/284323424032129024/820002192299655168/unknown.png?ex=690c41cd&is=690af04d&hm=7bd24a208459a095fe0f5e519b6b8156a0fb8f377a94b0931485137ac9c0ce0a&)
Archived author: Hacki • Posted: 2021-03-12T18:36:55.092000+00:00
Original source
Love this