My noobishness for scripting is shining through again. I want to use player:moveTo() in an if statement (after all 10 dailies are done), but I can't figure out how to write it so it doesn't error out.
Also, do I need to use a bot waypoint cord, or an in-game cord? I can't find any examples of how to actually write it properly.
player:moveTo()
Re: player:moveTo()
Code: Select all
player:moveTo(CWaypoint(151, -149, 72),true)
should be what you need. This makes you move to the given coordinates. I think it is like creating a waypoint on the fly...
Re: player:moveTo()
In case you don't know, 'true' is telling it not to look for mobs while moving. Obviously if you want it to kill stuff while it's moving you would omit that.
You can get your coords by usingin the MM window or double click the "Get_Player_Position.bat" batch file in the 'rom' folder. The coordinates the bot uses are nothing like the in game coordinates.
You can get your coords by using
Code: Select all
bot/getpos
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests