Well, I am here to help out a few people that are trying to use PPather to do a one click 1-60 task file.
Many of you don't know what PPather is, and it is a "tool" for glider that reads the MPQ files, and navigates through the world accordingly. It takes the most economic route available, and is a huge innovation for glider.
Anyway, I will explain how to insert a fly/train/fly back method into your tasks file!
Code:
When
{
$cond = $MyLevel > # && $MyLevel <= #;
Seq
{
If
{
$cond = $MyLevel == # && $MyZone == "Zone";
Par
{
Taxi
{
$Prio = 1;
$NPC = "Name";
$Destination = "Destination";
$Locations = [Hotspot];
}
}
}
If
{
$cond = $MyLevel == # && $MyZone == "ZoneName";
Par
{
Walk
{
$Locations = [Walk Hotspots];
$Order = "Order";
}
Pull
{
$Prio = 8;
$Factions = [];
$Names = [];
}
Train
{
$Prio = 1;
$NPC = "Name";
$Locations = [[Hotspot]];
}
Taxi
{
$Prio = 2;
$NPC = "Name";
$Destination = "Destination";
}
}
}
If
{
$cond = $MyLevel == # && $MySubZone == "X";
Par
{
Taxi
{
$Prio = 1;
$NPC = "Name";
$Destination = "Desitnation";
}
}
}
Par
{
Start your Par..
}
Well, if you are making a 1-60 task file, you probably know about level restraints.
Level Restraints
Like Mathematics, level restraints are pretty easily done and uses < and > symbols. Lets say that the zone you are in are for level 16-21, then your level restraints will be:
$cond = $MyLevel > 15 && $MyLevel <= 20;
Seq
A sequence is followed in order, and usually placed after in if statement. If read, it will go something like:
If I am 'this level', do 'this' in order, where 'this level' and 'this' are defined by your level restraints and your par respectively.
Par
What I need to do.
These are divided into many sublibraries.
These include Train, Harvest, Loot, Pull, and Hotspots
When defining something inside of your par, it cannot be any name - it has to be the correct library. For example, for Taxi - you have to put Taxi (not Texi).
Prio
Goes in a list from 0 to X, and reads in order. Your list can be millions of numbers long if you'd like (but there is no need for it).
Locations
Used to define where something is, and they are most commonly known as a hotspot. Usually you use these to define an NPC's location or to define a spot to walkto/grind at.
Remember to spell the NPC names correctly, count your brackets correctly, and proofread your tasks!
I hope that I helped some people out with frustration, and I am glad to be of assistance.
I will continue this guide when the new $Talent, and $BGQueue get released publicly.
Best of luck to all, and happy pathing!