Any simple procedures to search for a set point within an specified area? Maybe something like:
Or something along those lines?Simba Code:PointInArea(Point:TPoint; xs,ys,xe,ye:integer): boolean;
Any simple procedures to search for a set point within an specified area? Maybe something like:
Or something along those lines?Simba Code:PointInArea(Point:TPoint; xs,ys,xe,ye:integer): boolean;
PointInBox( TPoint, TBox): boolean;
and you can do it like this PointInBox( Point(x, y), IntToBox(xs,ys,xe,ye)): boolean;
(Scripts outdated until I update for new SRL changes)
AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
Summer = me busy, won't be around much.
That's what I was looking for, thank you Narcle! I had found PointInBox, but I had no idea how to specify the box, which is where 'IntToBox' comes in, what a great function that is.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)