[DiscordArchive] which function is used in the client to know if I can attack a player? UnitCanAttack?
[DiscordArchive] which function is used in the client to know if I can attack a player? UnitCanAttack?
![[Image: image.png?ex=690c32ad&is=690ae12d&hm=868...b314dae80&]](https://cdn.discordapp.com/attachments/1086807686571642900/1388934898831724564/image.png?ex=690c32ad&is=690ae12d&hm=868292bd3edb58cd769d9d10dd27092705785f38eee460e0228a7d2b314dae80&)
Archived author: Pantheon • Posted: 2025-06-29T17:31:25.123000+00:00
Original source
which function is used in the client to know if I can attack a player? UnitCanAttack?
![[Image: image.png?ex=690c32ad&is=690ae12d&hm=868...b314dae80&]](https://cdn.discordapp.com/attachments/1086807686571642900/1388934898831724564/image.png?ex=690c32ad&is=690ae12d&hm=868292bd3edb58cd769d9d10dd27092705785f38eee460e0228a7d2b314dae80&)
Archived author: Widget • Posted: 2025-06-29T18:00:35.042000+00:00
Original source
CGUnit\_C\_\_CanAssist 0x007293D0 - can interact with friendly target
CGUnit\_C\_\_CanAttack 0x00729A70 - can attack enemy target
i think i used these
Archived author: Pantheon • Posted: 2025-06-29T18:02:03.832000+00:00
Original source
Thank you boss <@664515064736382997>