October 23, 20169 yr How can I have quester use grapple points? I have been able to setup a step to interact with NPC and get it to grapple up to the hook, but just after casting (but before being taken up to the hook) it will try to run away to find a way to walk up. Usually this ends up making it run off the side of a mountain back to where it came from. I've tried making "is complete condition" to the hooks position but it doesn't care and will keep walking around trying to interact with other points.
October 27, 20169 yr Author Noticed I cant spell Points in the title, oops. Just wanting to see if anyone had any ideas yet?
December 6, 20169 yr Hello, you need to use c# for this quest, and use code like: var grappleId = 1234; var grapple1 = new Vector3(1, 2, 3); var grapple2 = new Vector3(1, 2, 3); var grapple3 = new Vector3(1, 2, 3); if (ObjectManager.Me.Position.DistanceTo(grapple1) < 8) { var g = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(grappleId), grapple2); if (g.IsValid) { Interact.InteractGameObject(g.GetBaseAddress, true); Thread.Sleep(1000); } } else if (ObjectManager.Me.Position.DistanceTo(grapple2) < 8) { var g = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(grappleId), grapple3); if (g.IsValid) { Interact.InteractGameObject(g.GetBaseAddress, true); Thread.Sleep(1000); } } // ... else { var g = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(grappleId), grapple1); if (g.IsValid) { Interact.InteractGameObject(g.GetBaseAddress, true); Thread.Sleep(1000); } }
Create an account or sign in to comment