ID:159343
Mar 28 2009, 1:08 pm
|
|
OK, it seems in all my verbs, whenever I do something it displays a list of every possible one. Like, if I go to catch something, it displays a list of every mob close enough to catch. How do I remove this list?
|
In response to Ruben7
|
|
Ruben7 wrote:
I assume you're dealing with something like oview()? Return(var/mob/M as mob in oview()) Yes, oview, and yes auto select closest mob, but I also want to make another that selects everything possible for when they log off. |
In response to Xyphon101
|
|
Xyphon101 wrote:
Ruben7 wrote: Return(var/mob/M as mob in oview()) Yes, oview, and yes auto select closest mob, but I also want to make another that selects everything possible for when they log off. Return() Auto selects closet pokemon that doesn't have none as owner in view. The view and range procs should already order their return list by distance, so using a sorting thing would be pointless. |
Care to copy the code? What exactly are you trying to do? Auto select the closest mob instead of selecting from the list?