[DiscordArchive] how can i check if a target is an enemy?
[DiscordArchive] how can i check if a target is an enemy?
Archived author: Mematoru • Posted: 2024-02-01T09:58:54.052000+00:00
Original source
how can i check if a target is an enemy?
))))
Archived author: Mematoru • Posted: 2024-02-01T10:02:16.733000+00:00
Original source
nvm figured it out
))))
Archived author: ModoX • Posted: 2024-02-01T10:02:23.601000+00:00
Original source
creature->IsHostileTo(othercreature)
Archived author: Mematoru • Posted: 2024-02-01T10:02:36.857000+00:00
Original source
or !isfriendly?
Archived author: ModoX • Posted: 2024-02-01T10:02:42.162000+00:00
Original source
or !creature->IsFriendly
Archived author: ModoX • Posted: 2024-02-01T10:02:42.511000+00:00
Original source
yeah
Archived author: Mematoru • Posted: 2024-02-01T10:02:54.192000+00:00
Original source
<a:aPES_Beer:665198898733776900>
Archived author: Tea • Posted: 2024-02-01T10:07:13.013000+00:00
Original source
it depends
Archived author: Tea • Posted: 2024-02-01T10:08:22.854000+00:00
Original source
if you are writing spell scripts, always use IsValidAttackTarget/IsValidAssistTarget instead of friendliness checks
Archived author: Mematoru • Posted: 2024-02-01T10:08:53.131000+00:00
Original source
<:notess:751452984902287370>