Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="NORMAL">
<!-- # 1 --><waypoint x="6301" z="5028" y="179">if inventory:itemTotalCount(0) == 0 then loadPaths("blyads_dogmeat_merchant.xml") end
</waypoint>
<!-- # 2 --><waypoint x="6411" z="4763" y="181">if inventory:itemTotalCount("Guard Dog Meat") > 2000 then loadPaths("blyads_dogmeat_mail.xml")
end </waypoint>
<!-- # 3 --><waypoint x="6355" z="4529" y="180"> RomScript("TargetNearestEnemy") yrest(250) player:fight() </waypoint>
<!-- # 4 --><waypoint x="6518" z="4333" y="181"> RomScript("TargetNearestEnemy") yrest(250) player:fight() </waypoint>
<!-- # 5 --><waypoint x="6438" z="4201" y="181"> RomScript("TargetNearestEnemy") yrest(250) player:fight() </waypoint>
<!-- # 6 --><waypoint x="6526" z="4216" y="181"> RomScript("TargetNearestEnemy") yrest(250) player:fight() </waypoint>
<!-- # 7 --><waypoint x="6360" z="4487" y="180"> RomScript("TargetNearestEnemy") yrest(250) player:fight() </waypoint>
<!-- # 8 --><waypoint x="6424" z="4705" y="181"> RomScript("TargetNearestEnemy") yrest(250) player:fight() </waypoint>
</waypoints>the bot them stops at every waypoint and tab targets. sometimes it's a player sometimes its a mob sometimes its nothing and just keeps walking.
is there a more effective method to target players via memory? its very important that i dont execute the Player:Fight(); function on someone who has a pk bubble or i will just end up chasing an immune player.
ultimately this is just another one of my small side project to make my bots behave more human like, and what's more human than killing people who killsteal your mobs?
any advice is appreciated i checked the wiki and it didnt have any valuable information regarding this type of thing.