Page 3 of 3

Re: Creating Paths

Posted: Wed Apr 25, 2012 3:25 pm
by rock5
Ok, so it's just one of those things we can't explain. If I can make the time maybe I'll go test it myself, but I'm too busy at the moment.

Re: Creating Paths

Posted: Fri May 04, 2012 1:11 am
by abron1
hey rock i use your GotoPortal function and no matter how close i have the waypoint i stops right in front of the portal in dod and sometimes stops before going in dod i don't happen all the time going in but all the time coming out....and i have the waypoint my be 100 or ever closer to the portal.

Re: Creating Paths

Posted: Fri May 04, 2012 6:12 am
by rock5
abron1 wrote:hey rock i use your GotoPortal function and no matter how close i have the waypoint i stops right in front of the portal in dod and sometimes stops before going in dod i don't happen all the time going in but all the time coming out....and i have the waypoint my be 100 or ever closer to the portal.
The method I use to go to the portal is, target the portal then attack it, which should bring it to melee distance which usually is close enough to trigger the portal. The DoD portal, though, you can nearly be touching it and it still doesn't trigger. I guess a better option is to use moveTo. Just tried it, it works.

Try changing

Code: Select all

		player:target(closestObject.Address) yrest(500)
		Attack()
around line 33 to

Code: Select all

		player:moveTo(closestObject, true)