As the topic says, I'm looking for a way to only target NPCs in a loaded zone file.
I have the following issue:
I need to kill a mob that is spawned by a dailyquest.
Code: Select all
censored
idea: As soon as the mob spawns I'm entering battle (player.Batteling == true), so if I could check, who I'm in battle with, then it would be easy to target the attacker and then call player.fight().
// OK, that doesn't work, since it's faceaggro and there could be other players in front of me-