taultunleashed logoMoving to an NPC with VGExtreme : VGExtreme General Discussion
newtopic  postreply
 [ 6 posts ] 
blue large dot

Moving to an NPC with VGExtreme : VGExtreme General Discussion

Posted: April 3rd, 2007, 7:19 am
 
tbittrix
tbittrix's Reps:
User avatar
I cannot for the life of me figure out how to use VGExtreme to walk to an NPC after targetting him/her. I'm sure it's a simple piece of coding given what's included in the d/l, but being the novice that I am, I am unable to do it. Any help would be appreciated.


Reply with quote
Posted: April 3rd, 2007, 8:17 am
 
kumqwat420
kumqwat420's Reps:
User avatar
MoveToMob getTarget


Reply with quote
Posted: April 3rd, 2007, 10:16 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
Also note that MoveTo functions wll return true or false if it has moved close enough to the target or not. Ie it will walk for 5 seconds and then stop and return true/false.

If your target is more than 5 seconds away, you will need to call it multiple times.

This was done to allow other checks/processing to go on while moving.

PS. If the movement returns false, it will not stop moving, it will keep going. It assumes that you will call it again because you are not at the destination yet.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 3rd, 2007, 4:01 pm
 
tbittrix
tbittrix's Reps:
User avatar
Gah who am I kidding, I can't code!

All my crafting is done via a keystroke/mouseclick macro. The only part I'm missing is the ability to walk to the Taskmaster NPC while he wanders around randomly. MoveToMob apparently will work as long as there are no obstacles in the way (there aren't), but obviously havn't the slightest idea how to write the script lol.


Reply with quote
Posted: April 11th, 2007, 6:46 pm
 
tault_stigma

Total Posts: 136
Joined: March 5th, 2005, 6:37 pm
tault_stigma's Reps: 0
User avatar
Active User > 50 Posts
wyvernx (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
Also note that MoveTo functions wll return true or false if it has moved close enough to the target or not. Ie it will walk for 5 seconds and then stop and return true/false.

If your target is more than 5 seconds away, you will need to call it multiple times.

This was done to allow other checks/processing to go on while moving.

PS. If the movement returns false, it will not stop moving, it will keep going. It assumes that you will call it again because you are not at the destination yet.


keep going towards the target (guided)? or keep going forwards (blind) ?
Also, does the moveto function you made check to see if it has reached the target, or is that for us to code ourselves?

thanks

-Stigma


Reply with quote
Posted: April 11th, 2007, 7:26 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
keeps going forwards blind. Each call to MoveTo will move toward the target guided for 5 seconds. Then return control to the script. And will continue moving towards it blind. Ie it will keep the forwards button pressed.

Yes it stops when its within 5 in game units of the target.

_________________
Use Search first, ask questions later!


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 45 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of VGExtreme General Discussion RSS Feed 
Sitemap of VGExtreme General Discussion Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?