Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] does anybody know what the core functions are to check whether a unit is fleeing and whether a unit

[DiscordArchive] does anybody know what the core functions are to check whether a unit is fleeing and whether a unit

[DiscordArchive] does anybody know what the core functions are to check whether a unit is fleeing and whether a unit

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
12-05-2023, 08:27 AM
#1
Archived author: Nocty1501 • Posted: 2023-12-05T08:27:53.175000+00:00
Original source

does anybody know what the core functions are to check whether a unit is fleeing and whether a unit is stunned/sleeping/polymorphed (unable to move or act)?
rektbyfaith
12-05-2023, 08:27 AM #1

Archived author: Nocty1501 • Posted: 2023-12-05T08:27:53.175000+00:00
Original source

does anybody know what the core functions are to check whether a unit is fleeing and whether a unit is stunned/sleeping/polymorphed (unable to move or act)?

rektbyfaith
Administrator
0
12-05-2023, 08:42 AM
#2
Archived author: Nocty1501 • Posted: 2023-12-05T08:42:42.037000+00:00
Original source

`unit->HasUnitState(UNIT_STATE_CONFUSED | UNIT_STATE_FLEEING)` is probably it, right?
rektbyfaith
12-05-2023, 08:42 AM #2

Archived author: Nocty1501 • Posted: 2023-12-05T08:42:42.037000+00:00
Original source

`unit->HasUnitState(UNIT_STATE_CONFUSED | UNIT_STATE_FLEEING)` is probably it, right?

rektbyfaith
Administrator
0
12-05-2023, 08:45 AM
#3
Archived author: Nocty1501 • Posted: 2023-12-05T08:45:34.515000+00:00
Original source

would this crash horribly if `unit` is a player entity? <:thonk:1036193578864615504>
rektbyfaith
12-05-2023, 08:45 AM #3

Archived author: Nocty1501 • Posted: 2023-12-05T08:45:34.515000+00:00
Original source

would this crash horribly if `unit` is a player entity? <:thonk:1036193578864615504>

rektbyfaith
Administrator
0
12-05-2023, 08:48 AM
#4
Archived author: Anchy • Posted: 2023-12-05T08:48:15.952000+00:00
Original source

no
rektbyfaith
12-05-2023, 08:48 AM #4

Archived author: Anchy • Posted: 2023-12-05T08:48:15.952000+00:00
Original source

no

rektbyfaith
Administrator
0
12-05-2023, 08:48 AM
#5
Archived author: Anchy • Posted: 2023-12-05T08:48:19.934000+00:00
Original source

the player has unit states as well
rektbyfaith
12-05-2023, 08:48 AM #5

Archived author: Anchy • Posted: 2023-12-05T08:48:19.934000+00:00
Original source

the player has unit states as well

rektbyfaith
Administrator
0
12-05-2023, 08:48 AM
#6
Archived author: Anchy • Posted: 2023-12-05T08:48:40.227000+00:00
Original source

for example, a hunter has a unit state of UNIT_STATE_DIED while using feign death
rektbyfaith
12-05-2023, 08:48 AM #6

Archived author: Anchy • Posted: 2023-12-05T08:48:40.227000+00:00
Original source

for example, a hunter has a unit state of UNIT_STATE_DIED while using feign death

rektbyfaith
Administrator
0
12-05-2023, 08:50 AM
#7
Archived author: Nocty1501 • Posted: 2023-12-05T08:50:30.788000+00:00
Original source

there's something hilarious about this
rektbyfaith
12-05-2023, 08:50 AM #7

Archived author: Nocty1501 • Posted: 2023-12-05T08:50:30.788000+00:00
Original source

there's something hilarious about this

rektbyfaith
Administrator
0
12-05-2023, 08:54 AM
#8
Archived author: Nocty1501 • Posted: 2023-12-05T08:54:07.454000+00:00
Original source

this is perfect, thank you!
rektbyfaith
12-05-2023, 08:54 AM #8

Archived author: Nocty1501 • Posted: 2023-12-05T08:54:07.454000+00:00
Original source

this is perfect, thank you!

rektbyfaith
Administrator
0
12-05-2023, 08:54 AM
#9
Archived author: Nocty1501 • Posted: 2023-12-05T08:54:15.980000+00:00
Original source

(better hope my hack of a hack works)
rektbyfaith
12-05-2023, 08:54 AM #9

Archived author: Nocty1501 • Posted: 2023-12-05T08:54:15.980000+00:00
Original source

(better hope my hack of a hack works)

rektbyfaith
Administrator
0
12-05-2023, 09:36 AM
#10
Archived author: Nocty1501 • Posted: 2023-12-05T09:36:09.158000+00:00
Original source

IT WORKS!
rektbyfaith
12-05-2023, 09:36 AM #10

Archived author: Nocty1501 • Posted: 2023-12-05T09:36:09.158000+00:00
Original source

IT WORKS!

Pages (3): 1 2 3 Next
Recently Browsing
 
Recently Browsing