Page 1 of 1

no attack

Posted: Sat Sep 21, 2013 11:17 am
by Sasuke
for dailies i must walk through the mobs but i'd like ot use function where player don't attack they and if aggro continue for your way till my delivery point how can i do this?
for example

<!-- # 2 --><waypoint x="-3722" z="5220" y="12"> </waypoint>
<!-- # 3 --><waypoint x="-3664" z="5311" y="11"> </waypoint>
<!-- # 4 --><waypoint x="-3564" z="5362" y="11"> </waypoint>
<!-- # 5 --><waypoint x="-3458" z="5434" y="9"> </waypoint>

waypoint 1.2.3.4.5 is only walk through the boss and :
<!-- # 6 --><waypoint x="-3356" z="5530" y="10"> </waypoint>
<!-- # 7 --><waypoint x="-3252" z="5629" y="3"> </waypoint>
<!-- # 8 --><waypoint x="-3164" z="5736" y="4"> </waypoint>
<!-- # 9 --><waypoint x="-3025" z="5864" y="2"> </waypoint>
<!-- # 10 --><waypoint x="-2903" z="5980" y="10"> </waypoint>
<!-- # 11 --><waypoint x="-2842" z="6059" y="9"> </waypoint>
<!-- # 12 --><waypoint x="-2782" z="6170" y="10"> </waypoint>

i'd like player kill all mobs or specific mob...how can i do this?ty

Re: no attack

Posted: Sat Sep 21, 2013 1:03 pm
by rock5
To have it ignore all mobs even if they are attacking you.

Code: Select all

__WPL:setForcedWaypointType("TRAVEL")
To attack mobs as normal

Code: Select all

__WPL:setForcedWaypointType("NORMAL")
To kill specific mobs

Code: Select all

settings.profile.mobs={"mob1","mob2","mob3"}
Note: this value wont change until you change it or you load a new profile.

Re: no attack

Posted: Sat Sep 21, 2013 8:14 pm
by Sasuke
and if i ignore they how can i do?ty rock...can you explain me where add this script pls....give me an example ty

Re: no attack

Posted: Sat Sep 21, 2013 10:04 pm
by Sasuke
if I wanted that only at the beginning of the waypoints he does not attack anyone? but he attacks only at one point of the waypoints?

Re: no attack

Posted: Sat Sep 21, 2013 10:09 pm
by Bill D Cat
You can set the waypoint mode in one of two ways. The first is to include it in the header of the waypoint file so that it gets set when the file is loaded.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- #  1 --><waypoint x="0000" z="0000" y="0000"> </waypoint>
</waypoints>
The second option is to change it in the context of a waypoint inside the file. This lets you change it based on what you are trying to do. For example, set it to NORMAL to attack nearby mobs, or TRAVEL to run away and not fight back. The third option RUN will only fight back if a mob attacks you first.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- #  1 --><waypoint x="0000" z="0000" y="0000"> 
	__WPL:setForcedWaypointType("RUN")
</waypoint>
<!-- #  2 --><waypoint x="0000" z="0000" y="0000"> 
	__WPL:setForcedWaypointType("TRAVEL")
</waypoint>
<!-- #  3 --><waypoint x="0000" z="0000" y="0000"> 
	__WPL:setForcedWaypointType("NORMAL")
</waypoint>
</waypoints>

Re: no attack

Posted: Sat Sep 21, 2013 10:46 pm
by Sasuke
is it right ?:
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="6405" z="5436" y="181">
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies"); </waypoint>
<!-- # 5 --><waypoint x="6326" z="5030" y="195">
__WPL:setForcedWaypointType("TRAVEL")
player:mount();
</waypoint>
<!-- # 6 --><waypoint x="6362" z="5231" y="198"> </waypoint>
<!-- # 7 --><waypoint x="6339" z="4997" y="194">player:mount(); </waypoint>
<!-- # 3 --><waypoint x="6453" z="4456" y="193"> </waypoint>
<!-- # 4 --><waypoint x="6583" z="3898" y="214"> </waypoint>
<!-- # 5 --><waypoint x="6406" z="3422" y="196"> </waypoint>
<!-- # 6 --><waypoint x="6394" z="2831" y="195"> </waypoint>
<!-- # 7 --><waypoint x="6261" z="2719" y="194"> </waypoint>
<!-- # 8 --><waypoint x="6191" z="2852" y="194"> </waypoint>
<!-- # 9 --><waypoint x="6067" z="2827" y="194"> </waypoint>
<!-- # 10 --><waypoint x="6152" z="2518" y="195"> </waypoint>
<!-- # 11 --><waypoint x="6233" z="2396" y="193">player:harvest();</waypoint>
<!-- # 12 --><waypoint x="6537" z="2420" y="195">
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
<!-- # 13 --><waypoint x="6851" z="2498" y="194">player:harvest();</waypoint>
<!-- # 14 --><waypoint x="6924" z="2247" y="190">player:harvest();</waypoint>
<!-- # 15 --><waypoint x="6738" z="1893" y="189">player:harvest();</waypoint>
<!-- # 16 --><waypoint x="6473" z="1774" y="194">player:harvest();</waypoint>
<!-- # 17 --><waypoint x="6416" z="1948" y="194">player:harvest();</waypoint>
<!-- # 18 --><waypoint x="6309" z="2185" y="195">player:harvest();</waypoint>
<!-- # 19 --><waypoint x="6130" z="2614" y="194">
__WPL:setForcedWaypointType("TRAVEL")
</waypoint>
<!-- # 20 --><waypoint x="6113" z="2856" y="195"> </waypoint>
<!-- # 21 --><waypoint x="6223" z="2787" y="193"> </waypoint>
<!-- # 22 --><waypoint x="6394" z="2759" y="194"> </waypoint>
<!-- # 23 --><waypoint x="6388" z="2935" y="196"> </waypoint>
<!-- # 24 --><waypoint x="6376" z="3267" y="202"> </waypoint>
<!-- # 25 --><waypoint x="6411" z="3447" y="189"> </waypoint>
<!-- # 26 --><waypoint x="6588" z="3671" y="184"> </waypoint>
<!-- # 27 --><waypoint x="6553" z="3963" y="217"> </waypoint>
<!-- # 28 --><waypoint x="6469" z="4315" y="194"> </waypoint>
<!-- # 29 --><waypoint x="6381" z="4687" y="194"> </waypoint>
<!-- # 30 --><waypoint x="6338" z="5052" y="193"> </waypoint>
<!-- # 31 --><waypoint x="6386" z="5292" y="195"> </waypoint>
<!-- # 32 --><waypoint x="6423" z="5456" y="177">
player:target_NPC("Robbie Butcher");
CompleteQuestByName("Catch Butterflies");
</waypoint>
</waypoints>

Re: no attack

Posted: Sat Sep 21, 2013 10:59 pm
by Bill D Cat
If your intention is to run past the guard dogs and kill butterflies, then run past the dogs and turn in the quest, it should work. I'm not sure what the harvest waypoint is for, most likely an accidental keystroke while using the createpaths.lua to make the file. There also isn't a check to see if you've killed enough butterflies, so you might end up running back and forth a few times before you complete the quest. This would really depend on how many others are in the area, or if you are in a party/raid while you are doing the quest.

Also, be advised that without defining the mobs you want to attack, you will also target the Copper Gardner and Fierce Gale elite horse along with the butterflies in the area.