Attacking Only ## Npc
Posted: Sat Aug 08, 2020 3:14 pm
Is there a way to make a way point to attack on a Npc based on there ID number? and exnore the other npc's around them ..?
You can try to find and target the NPC.CDWriter wrote: Sat Aug 08, 2020 3:14 pm Is there a way to make a way point to attack on a Npc based on there ID number? and exnore the other npc's around them ..?
Code: Select all
mytarget = player:findNearestNameOrId(108173) -- Guargo the Furious Bull
if mytarget then
player:target_NPC(108173)
end
Code: Select all
player:target_NPC(108173)
player:fight()