Nice work.
I didnt test your code but I see only one problem. Your code is fallowing tank with
Code: Select all
RoMScript("FollowUnit('party"..partyleaderIndex.."');");
that mean all other bots are fallowing tank like "choo choo train". It must look like some one is powerlvling geared characters.
Normal ppl are walking in team spreed in area. That can make like this: avery bot have his own waypoint and whan thay enter Combat thay use your code for targeting and healing. In this case be problem if someone stay behind (resting, DC, crash,...) and something can going wrong.
I was playing with this code:
Code: Select all
if RoMScript("UnitExists('party1')") then
while not player:findNearestNameOrId(RoMScript("UnitName('party1')")) do
yrest(500)
end
end
Code dont do anything only waiting that ppl come to correct waypoint and than going to next one.
Hope I give you some ideas.