Ruinit 11 Posted December 3, 2017 Share Posted December 3, 2017 I followed the portal example but I can't seem to get it to work. I have checked the vectors and the objectid. This prints to log can anyone see what I did wrong or is it broken? [D] 17:06:42 - [Quester] While[77] (ObjectManager.Me.Position.DistanceTo2D(new Vector3(-14470.6f, 468.559f, -30.71972f)) <10) | Result: True [D] 17:06:42 - [Quester] RunCode[78]: var position = new Vector3(-14470.6f, 468.559f, -30.71972f); int objEntryId = 49637; if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(position, objEntryId)) { System.Threading.Thread.Sleep(1500); } Link to comment Share on other sites More sharing options...
Droidz 2737 Posted December 4, 2017 Share Posted December 4, 2017 Hello, do you have "EndWhile" step? And are your sure that it is not "(ObjectManager.Me.Position.DistanceTo2D(new Vector3(-14470.6f, 468.559f, -30.71972f)) > 10)" EDIT: In "while" step you need to put position where the portal teleport your character (not the portal position) Matenia 1 Link to comment Share on other sites More sharing options...
Ruinit 11 Posted December 4, 2017 Author Share Posted December 4, 2017 2 hours ago, Droidz said: Hello, do you have "EndWhile" step? And are your sure that it is not "(ObjectManager.Me.Position.DistanceTo2D(new Vector3(-14470.6f, 468.559f, -30.71972f)) > 10)" EDIT: In "while" step you need to put position where the portal teleport your character (not the portal position) Yes I had endwhile but no the instructions in your portal example doesn't say put in position where the portal takes me lol I will try that and see if I can get it to work thank you for the help. Link to comment Share on other sites More sharing options...
Ruinit 11 Posted December 4, 2017 Author Share Posted December 4, 2017 Droidz can you look at this please the teleport location is in the while but it will pick up quest and then try an run to flightmaster in bootybay. I am just not getting this :( TheBattleforAndorhalPortal.xml Link to comment Share on other sites More sharing options...
Ruinit 11 Posted December 5, 2017 Author Share Posted December 5, 2017 Nevermind I did some digging and I guess it wouldn't work because the portal is considered a npc. For anyone else I just made a quest and did interactwithnpc and it takes portal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now