[DiscordArchive] No? Why not?
[DiscordArchive] No? Why not?
Archived author: Tea • Posted: 2025-04-07T11:33:59.258000+00:00
Original source
GetHitUnit() doesn't work in target selection hooks
Archived author: Calin • Posted: 2025-04-07T11:34:00.184000+00:00
Original source
same
Archived author: Tea • Posted: 2025-04-07T11:34:46.237000+00:00
Original source
GetHit* family of functions operate on objects that have been selected as targets
Archived author: Tea • Posted: 2025-04-07T11:35:50.321000+00:00
Original source
GetExplTarget* are the ones that operate on target passed to WorldObject::CastSpell (either by npc script or from client packet for player)
Archived author: syntaxhell • Posted: 2025-04-07T11:39:09.974000+00:00
Original source
Objects as gobjects?
Archived author: syntaxhell • Posted: 2025-04-07T11:39:16.704000+00:00
Original source
I thought units was normal objects
Archived author: Tea • Posted: 2025-04-07T11:40:04.740000+00:00
Original source
no, objects as anything that can be a spell target
Archived author: syntaxhell • Posted: 2025-04-07T11:40:26.052000+00:00
Original source
Ah okay okay
Archived author: Tea • Posted: 2025-04-07T11:40:50.046000+00:00
Original source
which means `WorldObject` or `Item` or even a position
Archived author: Tea • Posted: 2025-04-07T11:41:20.193000+00:00
Original source
but i also said which function to use already https://discord.com/channels/37607328642...7203071077