News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Problem with helpers

Started by SignificantSlice, May 31, 2012, 10:41:55 AM

Previous topic - Next topic

Seravy

Quote from: SignificantSlice on June 05, 2012, 03:19:46 PM
but i thought with this code, helper b will only travel to the helper A with the lowest variable/ID and not the nearest helper A from the helper A that summon helper B

pls correct me if im wrong

BTW, tnx for the code it bacame my basis of what i should do  :)
Yes it will travel to the lowest ID. If you want nearest, you have to calculate the distance of each and select the lowest.