im pretty new to this...who can help me with my code....,
Code: Select all
<!-- # 23 --><waypoint x="2270" z="31906" y="69">
nameTable = {"characters"}
player:target_Object("Briefkasten",2000);
while (30 > inventory:itemTotalCount(0), bag2) do
UMM_SendInventoryItem(nameTable[player.free_counter1], (91+counter))
UMM_SendInventoryItem(nameTable[player.free_counter1], (92+counter))
UMM_SendInventoryItem(nameTable[player.free_counter1], (93+counter))
UMM_SendInventoryItem(nameTable[player.free_counter1], (94+counter))
UMM_SendInventoryItem(nameTable[player.free_counter1], (95+counter))
UMM_SendInventoryItem(nameTable[player.free_counter1], (96+counter))
RoMScript("UseSkill(1,2);");
waitForLoadingScreen();
loadPaths("t4_buy_randoms");
UMM_SendInventoryItem(nameTable[player.free_counter1], (91))
UMM_SendInventoryItem(nameTable[player.free_counter1], (92))
UMM_SendInventoryItem(nameTable[player.free_counter1], (93))
UMM_SendInventoryItem(nameTable[player.free_counter1], (94))
UMM_SendInventoryItem(nameTable[player.free_counter1], (95))
UMM_SendInventoryItem(nameTable[player.free_counter1], (96))
inventory:update()
counter = counter + 6;
if (counter > 24) then
counter = 0;
end
player.free_counter1 = player.free_counter1 + 1;
if (player.free_counter1 == 17) then
player.free_counter1 = 1;
end
end
</waypoint>
Code: Select all
<onLoad><![CDATA[
counter = 0;
player.free_counter1 = 1;
]]></onLoad>
Questions
Code: Select all
RoMScript("UseSkill(1,2);");
waitForLoadingScreen();
loadPaths("t4_buy_randoms");
Is it even possible to use "" loadPaths("t4_buy_randoms") "" in a loop ???????
Other problem:
Sometimes i get stuck in front of a wall because behind there are 2 mobs.
So my char is switching target all the time , till a patrol spawns.....He would go back to waypoint when i could change an option?
Thanks