Attacking Only ## Npc
Attacking Only ## Npc
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 ..?
- ThulsaDoom
- Posts: 134
- Joined: Mon Oct 19, 2015 2:46 pm
Re: Attacking Only ## Npc
You can try to find and target the NPC.
Code: Select all
mytarget = player:findNearestNameOrId(108173) -- Guargo the Furious Bull
if mytarget then
player:target_NPC(108173)
end
Now player:target_NPC() select the NPC and attack it, the problem with this function is that it always starts with a white hit, then continues with the attacks specified in the profile.
Before to do the same we did:
Code: Select all
player:target_NPC(108173)
player:fight()
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests