I want to add to my profile/waypoint an alternative waypoint, if i have more then x items in my bag or the durabily of my armor/weapon is too low.
On the wiki-page i´ve read all i need, but it still don´t get back on the "main-waypoint"
this is my code (first i had the code in the profile in the onload-tag, now in the waypoint without onload - both works):
Code: Select all
<waypoints>
inventory:update();
occupiedSlots, totalSlots = sendMacro("GetBagCount();");
if( occupiedSlots > 60 ) then
printf( occupiedSlots );
loadPaths( "waypoint_merchant" );
end;
<!-- # 1 --><waypoint x="-..." z="..."> </waypoint>
</waypoints>
If the Merchant-Waypoint ends, i have at the end of "waypoint_merchant.xml" linked back:
Code: Select all
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-..." z="..." type="NORMAL"> </waypoint>
...
loadPaths( "waypoint" );
</waypoints>
someone know that problem and can tell me, what could be wrong?
thx
nofuture