So i want to make a script when u die or out of buffs go to town and rebuff/restock items but i need help. When u get in the city u are in different place every time and u need to know where u are.. Tell me if i'm doing this right:
POSINRANGE(150704,-55744,-2976,50)
{
MOVETO(150079,-57259,-3007)
MOVETO(149760,-56751,-2963)
MOVETO(148859,-56172,-2807)
MOVETO(148410,-56174,-2807)
CALL(buff)
}
POSINRANGE(144752,-56752,-2976,50)
{
MOVETO(145475,-56899,-3007)
MOVETO(146802,-56010,-2807)
MOVETO(147023,-56158,-2807)
CALL(buff)
}
POSINRANGE(147232,-58480,-2976,50)
MOVETO(147447,-58285,-3007)
MOVETO(147700,-57978,-3007)
MOVETO(147732,-56076,-2807)
MOVETO(147577,-56530,-2807)
CALL(buff)
}
POSINRANGE(146272,-58176,-2976,50)
{
MOVETO(147710,-58101,-3007)
MOVETO(147704,-56823,-2807)
MOVETO(147834,-56598,-2807)
CALL(buff)
}
That's as far as am right now. I have The label(buff) but it's too long so i didn't put it here.