[DiscordArchive] Hey I have another question. What's the "unique waypoint ID" (argument 1) on the "MoveTo" function?
[DiscordArchive] Hey I have another question. What's the "unique waypoint ID" (argument 1) on the "MoveTo" function?
Archived author: ritzmenardi • Posted: 2023-06-09T19:18:22.047000+00:00
Original source
Hey I have another question. What's the "unique waypoint ID" (argument 1) on the "MoveTo" function?
https://www.azerothcore.org/pages/eluna/...oveTo.html
How do I guarantee that it's unique?
Archived author: ritzmenardi • Posted: 2023-06-09T19:30:15.156000+00:00
Original source
Here's my current plan:
math.random(0, 4294967295)
Archived author: Foe • Posted: 2023-06-09T19:30:33.920000+00:00
Original source
Unique as in don't reuse the same waypoint id for the specific creature
Archived author: ritzmenardi • Posted: 2023-06-09T19:30:40.791000+00:00
Original source
ohhhhhh gotcha
Archived author: ritzmenardi • Posted: 2023-06-09T19:34:22.179000+00:00
Original source
Okay next question:
https://www.azerothcore.org/pages/eluna/...ation.html
I'm looking at the "facing" or "orientation" value and it says that you can use "all decimal numbers" - what does that mean? Is it in degrees, radians, or something else?
Archived author: Honey • Posted: 2023-06-09T19:39:35.205000+00:00
Original source
If i remember correctly, it's 0 - 2xPi
Archived author: Honey • Posted: 2023-06-09T19:40:12.762000+00:00
Original source
Pi being 180°
0 being 0°
Pi/4 = 90°
etc.
Archived author: ritzmenardi • Posted: 2023-06-09T19:41:39.320000+00:00
Original source
Gotcha! Thank you.
Archived author: Honey • Posted: 2023-06-09T19:42:18.995000+00:00
Original source
There's at least 1 mistake in my numbers, but i'm sure you'll figure it out
Archived author: ritzmenardi • Posted: 2023-06-09T19:45:27.372000+00:00
Original source
Yeah it's just radians it looks like