[DiscordArchive] Don't you have to tell it to DoMeleeAttackIfReady or whatever the function is called?
[DiscordArchive] Don't you have to tell it to DoMeleeAttackIfReady or whatever the function is called?
Archived author: Revision • Posted: 2023-10-22T20:28:55.962000+00:00
Original source
Don't you have to tell it to DoMeleeAttackIfReady or whatever the function is called?
Archived author: KJack • Posted: 2023-10-22T20:29:16.168000+00:00
Original source
I don't want it to melee - I want it to follow the path I set for it and throw bombs on a timer.
Archived author: KJack • Posted: 2023-10-22T20:29:36.122000+00:00
Original source
if I set the script in the DB to npc_batrider, it works fine. but that obviously breaks all the trash bats.
Archived author: KJack • Posted: 2023-10-22T20:29:52.987000+00:00
Original source
well "fine" being does the path and throws the bombs. not all the way to pretty yet.
Archived author: Revision • Posted: 2023-10-22T20:30:47.747000+00:00
Original source
I'm just saying that if you don't include the DoMeleeAttackIfReady it probably won't attack you. I'm not saying that's what you want, just that.. yeah. That.
Archived author: Kitzunu • Posted: 2023-10-22T20:42:54.064000+00:00
Original source
You cant have a sai and c++ script at the same time
Archived author: Kitzunu • Posted: 2023-10-22T20:43:53.491000+00:00
Original source
And I have no idea what you want to achieve. But if you want only one spawn to have a different script you can add it in creature table
Archived author: Kitzunu • Posted: 2023-10-22T20:44:06.967000+00:00
Original source
Or by using a negative sai entry
Archived author: KJack • Posted: 2023-10-22T20:47:57.872000+00:00
Original source
Blizzard, in its ininite wisdom, reused a creature ID for both a ground-based trash mob and a flying boss summon that throws fire bombs. The trash mob has an SAI script and has its database AI set to SmartAI. I'm trying to override this at runtime specifically for the creatures I'm summoning, and use the `npc_batrider` Scripted AI instead.