Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I'm looking to use SmartAI to tell a creature to move to the position of the closest member of a gro

[DiscordArchive] I'm looking to use SmartAI to tell a creature to move to the position of the closest member of a gro

[DiscordArchive] I'm looking to use SmartAI to tell a creature to move to the position of the closest member of a gro

rektbyfaith
Administrator
0
02-23-2023, 11:31 PM
#1
Archived author: Devon • Posted: 2023-02-23T23:31:08.224000+00:00
Original source

I'm looking to use SmartAI to tell a creature to move to the position of the closest member of a group of creatures.

Logic like: `Go to nearest creature that matches one of these entries: n1, n2, n3`

I can do this with a specific creature entry using `69-MOVE_TO_POS` and passing it a single creature entry, but is there a way to do this with a set of entries?
rektbyfaith
02-23-2023, 11:31 PM #1

Archived author: Devon • Posted: 2023-02-23T23:31:08.224000+00:00
Original source

I'm looking to use SmartAI to tell a creature to move to the position of the closest member of a group of creatures.

Logic like: `Go to nearest creature that matches one of these entries: n1, n2, n3`

I can do this with a specific creature entry using `69-MOVE_TO_POS` and passing it a single creature entry, but is there a way to do this with a set of entries?

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