Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hey guys, can someone tell me a good method to calculate a distance between player and a creature sp

[DiscordArchive] Hey guys, can someone tell me a good method to calculate a distance between player and a creature sp

[DiscordArchive] Hey guys, can someone tell me a good method to calculate a distance between player and a creature sp

rektbyfaith
Administrator
0
04-27-2019, 05:56 PM
#1
Archived author: MR.MUSTACHE • Posted: 2019-04-27T17:56:30.655000+00:00
Original source

Hey guys, can someone tell me a good method to calculate a distance between player and a creature spawn?
rektbyfaith
04-27-2019, 05:56 PM #1

Archived author: MR.MUSTACHE • Posted: 2019-04-27T17:56:30.655000+00:00
Original source

Hey guys, can someone tell me a good method to calculate a distance between player and a creature spawn?

rektbyfaith
Administrator
0
04-27-2019, 06:01 PM
#2
Archived author: Elliot • Posted: 2019-04-27T18:01:46.020000+00:00
Original source

player->GetExactDist2d(creature)
rektbyfaith
04-27-2019, 06:01 PM #2

Archived author: Elliot • Posted: 2019-04-27T18:01:46.020000+00:00
Original source

player->GetExactDist2d(creature)

rektbyfaith
Administrator
0
04-27-2019, 06:03 PM
#3
Archived author: Elliot • Posted: 2019-04-27T18:03:04.670000+00:00
Original source

not sure if that's available in 3.3.5 but if it's not that there are another similar functions
rektbyfaith
04-27-2019, 06:03 PM #3

Archived author: Elliot • Posted: 2019-04-27T18:03:04.670000+00:00
Original source

not sure if that's available in 3.3.5 but if it's not that there are another similar functions

rektbyfaith
Administrator
0
04-27-2019, 06:21 PM
#4
Archived author: MR.MUSTACHE • Posted: 2019-04-27T18:21:27.658000+00:00
Original source

okay will check it, thanks
rektbyfaith
04-27-2019, 06:21 PM #4

Archived author: MR.MUSTACHE • Posted: 2019-04-27T18:21:27.658000+00:00
Original source

okay will check it, thanks

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