player:target_NPC not working? :S
Posted: Wed Jun 29, 2011 6:04 pm
hi i have the problem that my bot won't "find" a NPC, that is already in range!?! the strange thing is that the code SOMETIMES work...without opening the npc window
(btw player:merchant command wont work too) the bot doesn't take the npc as target.
im talking about the NPC "Sturobold" (the Dog-guy from the Teleporters)
code should be fine,cause MM dont give me an error.
WP code:
MM output:
do somebody have that problem too? is there a macro to see the npc's arround me in MM?
thanks a lot 4 help

im talking about the NPC "Sturobold" (the Dog-guy from the Teleporters)

code should be fine,cause MM dont give me an error.
WP code:
Code: Select all
yrest(4000)
player:target_NPC("Sturobold");
yrest(600);
sendMacro("ChoiceOption(3);");
yrest(600);
sendMacro("StaticPopup_OnClick(StaticPopup1, 1);");
yrest(4000)
waitForLoadingScreen();
player:update();
Code: Select all
Wir gehen zum Wegpunkt #15, (-xxx, xxx)
Wir versuchen den NPC Sturobold zu finden:
Wir können den NPC Sturobold nicht finden!
Drücke MACRO: RoMScript ausführen "ChoiceOption(4);".
Drücke MACRO: RoMScript ausführen "StaticPopup_OnClick(StaticPopup1, 1);".
do somebody have that problem too? is there a macro to see the npc's arround me in MM?
thanks a lot 4 help
