polserver / ModernDistro

Package of scripts and configs needed to run POL
10 stars 17 forks source link

pkg gumps > GFCloseGumpOnLeaveArea #104

Closed andrtechno closed 1 year ago

andrtechno commented 2 years ago

gumps/include/autoclose.inc Here is the problem with parameters

function GFCloseGumpOnLeaveArea ( mobile, x_1, y_1, x_2, y_2, pid, variance:=1, ret_val:=0 )
    return Start_Script ( ":gumps:scripts/autoClose/autoCloseOnLeaveArea", array{mobile, object, pid, dist_traveled, ret_val} );
endfunction
DavidJSGardner commented 2 years ago

Just committed a fix for this, this was my error made oh so many moons ago.

andrtechno commented 2 years ago

double-check the functions in the autoclose file, there are other functions with a similar problem