How would I make it so that (a) box(es) are around the player?
E.X:
![]()
How would I make it so that (a) box(es) are around the player?
E.X:
![]()
FindColorSkipBox and FindColorSkipBoxTolerance.
There used to be something meaningful here.
Something like
SCAR Code:MSCX - 25;
MSCY - 25;
MSCX + 25;
MSCY + 25;
Would create a 50x50 box at the center of the mainscreen.
Well if you wanted to use FindColors... since it isn't supported by skipbox, you'd need 4 boxes. One top, two side, and one bottom that would take up all the area accept a blank space in the middle.
SCAR Code:TopBox.X1 := MSX1;
TopBox.Y1 := MSY1;
TopBox.X2 := MSX2;
TopBox.Y2 := MSY1 + 100;
LeftSideBox.X1 := MSX1;
LeftSideBox.Y1 := MSY1;
LeftSideBox.X2 := MSX1 + 100;
LeftSideBox.Y2 := MSY2;
BottomBox.X1 := MSX1;
BottomBox.Y1 := MSY2 - 100;
BottomBox.X2 := MSX2;
BottomBox.Y2 := MSY2;
RightSideBox.X1 := MSX2 - 100;
RightSideBox.Y1 := MSY1;
RightSideBox.X2 := MSX2;
RightSideBox.Y2 := MSY2;
I don't know why I just now realized that I could do this instead of skip box.
Last edited by Wanted; 01-24-2010 at 12:44 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)