I used it to heal my char while questing. While the healer works pretty well, for quests you have to ride long distances. So I added some code that makes the healer mount & follow automatically when the lead char mounts his horse.
I just changed the getNameFollow function.
Code: Select all
unction getNameFollow()
while (true) do
if ( settings.profile.options.PARTY_FOLLOW_NAME ) then
for i = 1,5 do
if GetPartyMemberName(i) == settings.profile.options.PARTY_FOLLOW_NAME then RoMScript("FollowUnit('party"..i.."');"); break end
end
RoMScript("FollowUnit('party1');");
else
RoMScript("TargetUnit('party1');");
player:update();
partner = player:getTarget();
if( partner ) then
if( partner.Mounted and not player.Mounted ) then
while not player.Mounted do
player:mount()
yrest( 1000 );
player:update();
end
end
end
RoMScript("FollowUnit('party1');");
end
break
end
end