March 24, 20179 yr I would like to code a line which checks what continent the bot if in. If the continent/map is the wrong one, it will go to the previous step. Basically, at the end of my dungeon run, I want to teleport out using my druids moonglade teleport. However, sometimes some patrolling mob will aggro me and cancel my teleport, or for some other reason my teleport will get canceled. The bot then misfunction because it can't reach that step anymore. So it would look something like: 1. Runluacode: CastSpellByName("Teleport:moonglade", onSelf); 2. If continent ID is not Kalimdor -> go back to step 1 Is this possible?
April 7, 20179 yr I haven't tested it, but I think it'd look something like this: StepName => Teleport RunLuaCode => CastSpellByName("Teleport:moonglade", onSelf); Wait => 5000 If => wManager.Wow.Helpers.Usefuls.ContinentId != 1 GoToStep => Teleport EndIf
Create an account or sign in to comment