[DiscordArchive] <@200677690838220800>I'm sorry to have to ask, but unfortunately there is no documentation about som
[DiscordArchive] <@200677690838220800>I'm sorry to have to ask, but unfortunately there is no documentation about som
Archived author: Krutok • Posted: 2025-01-14T10:07:58.135000+00:00
Original source
<@200677690838220800>I'm sorry to have to ask, but unfortunately there is no documentation about some SAI functions.
What function does "SMART_ACTION_SET_IN_COMBAT_WITH_ZONE" have? So where would you use it?
Archived author: Northstrider • Posted: 2025-01-14T10:09:41.185000+00:00
Original source
You don't usually use it. It does - as the name implies - put everything in a zone in combat with you
Archived author: Northstrider • Posted: 2025-01-14T10:10:07.570000+00:00
Original source
Which is only meant to be used for very specific cases
Archived author: Tea • Posted: 2025-01-14T10:10:43.951000+00:00
Original source
no
Archived author: Tea • Posted: 2025-01-14T10:10:47.089000+00:00
Original source
you are wrong
Archived author: Tea • Posted: 2025-01-14T10:11:07.485000+00:00
Original source
SMART_ACTION_SET_IN_COMBAT_WITH_ZONE is your classic ai DoZoneInCombat
Archived author: Tea • Posted: 2025-01-14T10:11:38.262000+00:00
Original source
it sets every player on the map as in combat with creature
Archived author: Tea • Posted: 2025-01-14T10:11:44.883000+00:00
Original source
this is restricted to instances only
Archived author: Northstrider • Posted: 2025-01-14T10:12:34.471000+00:00
Original source
God, these sai names really need some work. So many misleading namings
![[Image: Screenshot_2025-01-14_111329.png?ex=690c...53e7d0d60&]](https://cdn.discordapp.com/attachments/376457042392514560/1328668622427656286/Screenshot_2025-01-14_111329.png?ex=690c7515&is=690b2395&hm=e46dacb48769bce12204ba512729b479d13f381a3f5fc6570d747a153e7d0d60&)
Archived author: Krutok • Posted: 2025-01-14T10:14:45.174000+00:00
Original source
OK, but then the function doesn't seem to work in an open world, not an instance.
_I wrote a small event where an NPC transforms, and the NPC is temporarily made immune to damage. The problem is that the player then comes out of the fight and the NPC bugs or resets.
So I thought you would use this function so that the player stays in the fight.
![[Image: Screenshot_2025-01-14_111329.png?ex=690c...53e7d0d60&]](https://cdn.discordapp.com/attachments/376457042392514560/1328668622427656286/Screenshot_2025-01-14_111329.png?ex=690c7515&is=690b2395&hm=e46dacb48769bce12204ba512729b479d13f381a3f5fc6570d747a153e7d0d60&)