Change waypoint type in an argument?
Posted: Mon Sep 12, 2011 3:23 pm
im currently working on a gaurd dog meat bot that farms the dailies, if the bag is full loads another path to go very all items other than III runes and the dailies and if the bot exceeds 5 stacks of dogmeats walks the ENTIRE length of the zone to a mailbox to send the dailies to my merchanting alt (much easier than comming into the zone and manually trading with the characters everday very time consuming)
the only issue i have with my system is at this point the waypoint system "RUN" has excessive downtime killing random mobs due to the high amount of them populatiing the roads in the new zone, the other downside is that "TRAVEL" leaves the characters exposed to various bleeds.
the upside is all of the characters i farm with are healers, or have healer secondaries so if i could have them stop at random waypoints when they get bogged down to heavly and kill off the swarm that is following them. it would save me allot of trouble.
so my question is, would an argument like this work, and what would be the proper snythax to make it functional? i honestly dont even know if the bot is capable of alternating waypoint type in an argument.
the goal of this code is obviously at the waypoint marked, to check the players HP, if he has more than half his HP continue ignoring the mobs, if the player has less than half his HP switch to run mode in which he would heal and fend off whatever weakened him so much.
i would place this code into every single waypoint unless someone has a more effective idea.
your thoughts?
the only issue i have with my system is at this point the waypoint system "RUN" has excessive downtime killing random mobs due to the high amount of them populatiing the roads in the new zone, the other downside is that "TRAVEL" leaves the characters exposed to various bleeds.
the upside is all of the characters i farm with are healers, or have healer secondaries so if i could have them stop at random waypoints when they get bogged down to heavly and kill off the swarm that is following them. it would save me allot of trouble.
so my question is, would an argument like this work, and what would be the proper snythax to make it functional? i honestly dont even know if the bot is capable of alternating waypoint type in an argument.
Code: Select all
<!-- # 2 --><waypoint x="-637" z="-8155" if playerHP >50% then type="TRAVEL" else type="RUN" ></waypoint>i would place this code into every single waypoint unless someone has a more effective idea.
your thoughts?