Open IGhostcrawler opened 5 years ago
So I found a command to get the coordinates for Pather.moveTo(x, y). I just need to know how to find unitType and unitID as shown in my example.
unitType is usually 1 or 2 for monsters and you can find the unitID in sdk/superunique_presetunitids.txt
unitType is usually 1 or 2 for monsters and you can find the unitID in sdk/superunique_presetunitids.txt
I just realized why I couldn't understand the presetunitids, the code in my example was flawed but luckily found out why. Thanks!
So outside of trial and error and guessing, is there a way to correctly determine unitType? :-)
Hi.
I'm trying to understand how some functions of kolbot works and got some questions I hoped you could answer?
I already figured out how Pather.moveToExit(x, x, x) works and if I understand the function Pather.moveToPreset corrently, they are basically the same thing but the latter has more options for customization.
If I want to write the Pather.moveToPreset correctly I need find some different information and was hoping you can tell me where to find it:
unitType unitID
Example: Pather.moveToPreset(me.area, 1, 748) - What does the number 1 means and where do I find unitID?
offX offY
Example: Pather.moveTo(15118, 5002); - How do I determine value of X and Y?
Regards.