Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hi all, I made smart script, npc spawning at portal, then going to waypoint, second npc standing in

[DiscordArchive] Hi all, I made smart script, npc spawning at portal, then going to waypoint, second npc standing in

[DiscordArchive] Hi all, I made smart script, npc spawning at portal, then going to waypoint, second npc standing in

rektbyfaith
Administrator
0
04-13-2022, 04:25 PM
#1
Archived author: DykeR • Posted: 2022-04-13T16:25:27.437000+00:00
Original source

Hi all, I made smart script, npc spawning at portal, then going to waypoint, second npc standing in waypoint (hostile) so, my first npc don't attack him, how I can do attack npc 1 npc 2?
rektbyfaith
04-13-2022, 04:25 PM #1

Archived author: DykeR • Posted: 2022-04-13T16:25:27.437000+00:00
Original source

Hi all, I made smart script, npc spawning at portal, then going to waypoint, second npc standing in waypoint (hostile) so, my first npc don't attack him, how I can do attack npc 1 npc 2?

rektbyfaith
Administrator
0
04-13-2022, 04:28 PM
#2
Archived author: DykeR • Posted: 2022-04-13T16:28:22.659000+00:00
Original source

I probably set smartai to aggressorai npc 1 and it's working. But I need smartai to do npc 1 go to waypoint, and I probably do smartai action type attack closest enemy - don't work, npc 1 don't attack npc 2 when waypoint reached, but npc 2 killing npc 1, npc 1 do nothing
rektbyfaith
04-13-2022, 04:28 PM #2

Archived author: DykeR • Posted: 2022-04-13T16:28:22.659000+00:00
Original source

I probably set smartai to aggressorai npc 1 and it's working. But I need smartai to do npc 1 go to waypoint, and I probably do smartai action type attack closest enemy - don't work, npc 1 don't attack npc 2 when waypoint reached, but npc 2 killing npc 1, npc 1 do nothing

rektbyfaith
Administrator
0
04-13-2022, 04:36 PM
#3
Archived author: DykeR • Posted: 2022-04-13T16:36:59.757000+00:00
Original source

Or what is faction ids for npcs? Npc 1 have friendly faction to player, but hostile to monster, npc 2 hostile for all
rektbyfaith
04-13-2022, 04:36 PM #3

Archived author: DykeR • Posted: 2022-04-13T16:36:59.757000+00:00
Original source

Or what is faction ids for npcs? Npc 1 have friendly faction to player, but hostile to monster, npc 2 hostile for all

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)