[DiscordArchive] Hello. Is there a way to force creature to attack player through SAI even if the player is beyond th
[DiscordArchive] Hello. Is there a way to force creature to attack player through SAI even if the player is beyond th
Archived author: Demonic • Posted: 2022-11-27T03:56:00.779000+00:00
Original source
Hello. Is there a way to force creature to attack player through SAI even if the player is beyond the aggro range?
Archived author: Sicalicious • Posted: 2022-11-27T03:56:48.481000+00:00
Original source
Maybe making an area trigger
Archived author: Demonic • Posted: 2022-11-27T03:57:20.254000+00:00
Original source
But that would be a trigger to spawn already hostile creature no?
Archived author: Demonic • Posted: 2022-11-27T04:01:52.205000+00:00
Original source
To be specific, I have a certain creature, with starts friendly and in stealth. The creature will shift to hostile if player gets in specified range (cca 40 yards, it's na archer) but ONLY if the player has a certain quest. The issue is, if I spawn the NPCs close enough to aggro imediately (within 20 yards to the expected player path) there's a good chance players without the quest will find the creature (even stealthed) while in the friendly state. Which is undesired. Since it breakes the immersion. The AI works like a charm, but the issue is I can choose any distance to trigger the flip to hostile, but if it's larger than the aggro range, the creature will turn hostile... and do nothing, since the player is too far away.
Archived author: Demonic • Posted: 2022-11-27T04:03:23.431000+00:00
Original source
I can try and spawn the NPCs through the quest itself, so they are not around all the time, but I'd rather not do that, I prefer them always being there.
Archived author: Demonic • Posted: 2022-11-27T04:22:43.293000+00:00
Original source
Well, I worked around it by using the autoshoot spell. Technically the NPCs are not in combat, but they are attacking the player.