I'v noticed that if a player uses track on a mob that is used alot...like say 20 'bobs' are in an area. The player would have to do like 'track 3.bob' etc. Is there anyway I can make it so that if a player typed track bob, and it would instantly track the bob closest to him/her? Somtimes theres multiple mobs in an area not connected by exits, and the player will type track err lets keep using bob, and it would go to the bob thats not near them so they have to cycle through bob.2, bob.3. Just want track to well yeah look for the one cloesest.. I'm aware I would have to change find_first_step but I dont know how.
....Could use some help with track.
Posted by Spike on Sat 23 Oct 2004 11:59 PM — 4 posts, 15,346 views.
Heh no one with any ideas on this one?
How do you know which is the closest bob?
Well the way find_first_step works is it measures the rooms from the mob to the player. Somtimes there is alot of bobs in an area, and somtimes the area isnt allways connected meaning somtimes it tries to find a bob that isnt connected to a portion of the area that the player is in, even if theres a bob 4 rooms away.