[DiscordArchive] if they cast a spell, doesnt that put them into combat?
[DiscordArchive] if they cast a spell, doesnt that put them into combat?
Archived author: Mithria • Posted: 2025-06-05T12:11:07.796000+00:00
Original source
after they cast their spell, they turn around on their current path and then less than a second later they're gone
Archived author: Yuppls • Posted: 2025-06-05T12:11:39.988000+00:00
Original source
is it being summon from nothing or does it have a parent npc thats doing the summoning?
Archived author: Mithria • Posted: 2025-06-05T12:11:46.241000+00:00
Original source
parent npc
Archived author: Yuppls • Posted: 2025-06-05T12:12:54.305000+00:00
Original source
u using action_summon_creature on your parent npc?
Archived author: Mithria • Posted: 2025-06-05T12:13:10.405000+00:00
Original source
yes
Archived author: Yuppls • Posted: 2025-06-05T12:13:39.659000+00:00
Original source
and that 3rd parameter for summon_creature? did you set that?
Archived author: Yuppls • Posted: 2025-06-05T12:13:47.893000+00:00
Original source
Duration
Archived author: Mithria • Posted: 2025-06-05T12:14:04.381000+00:00
Original source
no. just summon type 8 (manual despawn)
Archived author: Mithria • Posted: 2025-06-05T12:14:37.492000+00:00
Original source
they walk their full path if no player comes near, but as soon as a player comes near and triggers the action for them to cast a spell, they cast that spell, then turn around and despawn
Archived author: Yuppls • Posted: 2025-06-05T12:16:34.047000+00:00
Original source
what i think is happening is that the spell is hostile enough that it triggers combat. And Smart AI is interpreting the exiting of combat thereafter to be a reset state.... and chosing to despawn